Files
db_in_45_steps_go/0201/cell.go
T
2026-07-25 21:36:07 +02:00

21 lines
309 B
Go

package db0201
type CellType uint8
const (
TypeI64 CellType = 1
TypeStr CellType = 2
)
type Cell struct {
Type CellType
I64 int64
Str []byte
}
func (cell *Cell) Encode(toAppend []byte) []byte
func (cell *Cell) Decode(data []byte) (rest []byte, err error)
// QzBQWVJJOUhU https://trialofcode.org/