value.go
func valueBytesToEntry(buf []byte) (e Entry) {
	var h header
	h.Decode(buf)
	n := uint32(headerBufSize)

	e.Key = buf[n : n+h.klen]
	n += h.klen
	e.meta = h.meta
	e.UserMeta = h.userMeta
	e.Value = buf[n : n+h.vlen]
	return
}
func valueBytesToEntry(buf []byte) (e Entry) {
	var h header
	h.Decode(buf)
	n := uint32(headerBufSize)

	e.Key = buf[n : n+h.klen]
	n += h.klen
	e.meta = h.meta
	e.UserMeta = h.userMeta
	e.Value = buf[n : n+h.vlen]
	return
}
func valueBytesToEntry ( buf [ ] byte ) ( e Entry ) { var h header h . Decode ( buf ) n := uint32 ( headerBufSize ) e . Key = buf [ n : n + h . klen ] n += h . klen e . meta = h . meta e . UserMeta = h . userMeta e . Value = buf [ n : n + h . vlen ] return }
// Test helper
Test helper