structs.go
func (h *header) Decode(buf []byte) {
	h.klen = binary.BigEndian.Uint32(buf[0:4])
	h.vlen = binary.BigEndian.Uint32(buf[4:8])
	h.expiresAt = binary.BigEndian.Uint64(buf[8:16])
	h.meta = buf[16]
	h.userMeta = buf[17]
}
func (h *header) Decode(buf []byte) {
	h.klen = binary.BigEndian.Uint32(buf[0:4])
	h.vlen = binary.BigEndian.Uint32(buf[4:8])
	h.expiresAt = binary.BigEndian.Uint64(buf[8:16])
	h.meta = buf[16]
	h.userMeta = buf[17]
}
func ( h * header ) Decode ( buf [ ] byte ) { h . klen = binary . BigEndian . Uint32 ( buf [ 0 : 4 ] ) h . vlen = binary . BigEndian . Uint32 ( buf [ 4 : 8 ] ) h . expiresAt = binary . BigEndian . Uint64 ( buf [ 8 : 16 ] ) h . meta = buf [ 16 ] h . userMeta = buf [ 17 ] }
// Decodes h from buf.
Decodes h from buf .