y/iterator.go
func (v *ValueStruct) Encode(b []byte) {
	b[0] = v.Meta
	b[1] = v.UserMeta
	sz := binary.PutUvarint(b[2:], v.ExpiresAt)
	copy(b[2+sz:], v.Value)
}
func (v *ValueStruct) Encode(b []byte) {
	b[0] = v.Meta
	b[1] = v.UserMeta
	sz := binary.PutUvarint(b[2:], v.ExpiresAt)
	copy(b[2+sz:], v.Value)
}
func ( v * ValueStruct ) Encode ( b [ ] byte ) { b [ 0 ] = v . Meta b [ 1 ] = v . UserMeta sz := binary . PutUvarint ( b [ 2 : ] , v . ExpiresAt ) copy ( b [ 2 + sz : ] , v . Value ) }
// Encode expects a slice of length at least v.EncodedSize().
Encode expects a slice of length at least v . EncodedSize () .