structs.go
func (p valuePointer) Encode(b []byte) []byte {
	binary.BigEndian.PutUint32(b[:4], p.Fid)
	binary.BigEndian.PutUint32(b[4:8], p.Len)
	binary.BigEndian.PutUint32(b[8:12], p.Offset)
	return b[:vptrSize]
}
func (p valuePointer) Encode(b []byte) []byte {
	binary.BigEndian.PutUint32(b[:4], p.Fid)
	binary.BigEndian.PutUint32(b[4:8], p.Len)
	binary.BigEndian.PutUint32(b[8:12], p.Offset)
	return b[:vptrSize]
}
func ( p valuePointer ) Encode ( b [ ] byte ) [ ] byte { binary . BigEndian . PutUint32 ( b [ : 4 ] , p . Fid ) binary . BigEndian . PutUint32 ( b [ 4 : 8 ] , p . Len ) binary . BigEndian . PutUint32 ( b [ 8 : 12 ] , p . Offset ) return b [ : vptrSize ] }
// Encode encodes Pointer into byte buffer.
Encode encodes Pointer into byte buffer .