Commit 5ad5b2a4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8b4e080e
......@@ -429,6 +429,7 @@ func (zl *zLink) xuint64Unpack(xv interface{}) (uint64, bool) {
panic("bug")
case 'Z':
// pickles: str|bytes
v, err := pickletools.Xstrbytes8(xv)
if err != nil {
return 0, false
......@@ -436,6 +437,7 @@ func (zl *zLink) xuint64Unpack(xv interface{}) (uint64, bool) {
return v, true
case 'M':
// msgpack decodes bytes as []byte (which corresponds to bytearray in pickle)
switch v := xv.(type) {
default:
return 0, false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment