Commit b44769cf authored by Levin Zimmermann's avatar Levin Zimmermann

Revert "."

This reverts commit 4b25a225.
parent 4b25a225
......@@ -5339,9 +5339,15 @@ func (p *GetObject) neoMsgEncodedLenM() int {
func (p *GetObject) neoMsgEncodeM(data []byte) {
data[0] = byte(msgpack.FixArray_4 | 3)
msgpack.PutUint64(data[1:], uint64(p.Oid))
msgpack.PutUint64(data[10:], uint64(p.At))
msgpack.PutUint64(data[19:], uint64(p.Before))
data[1] = byte(msgpack.Bin8)
data[2] = 8
binary.BigEndian.PutUint64(data[3:], uint64(p.Oid))
data[11] = byte(msgpack.Bin8)
data[12] = 8
binary.BigEndian.PutUint64(data[13:], uint64(p.At))
data[21] = byte(msgpack.Bin8)
data[22] = 8
binary.BigEndian.PutUint64(data[23:], uint64(p.Before))
}
func (p *GetObject) neoMsgDecodeM(data []byte) (int, error) {
......
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