Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2024 Changes in this version + var ErrInvalidWhence = errors.New("bytesInput: invalid whence") + var ErrNegativeOffset = errors.New("bytesInput: negative offset") + var ErrOutOfRange = errors.New("bytesInput: try to get access out of range") + var ErrUInt32Overflow = errors.New("bytesInput: uint32 overflow") + type Directory interface + CreateOutput func(name string) (Output, error) + OpenInput func(name string) (Input, error) + func NewFSDirectory(path string) (Directory, error) + func NewRAMDirectory() Directory + type Input interface + ReadUInt16 func() (uint16, error) + ReadUInt32 func() (uint32, error) + ReadVUInt32 func() (uint32, error) + Slice func(off int64, n int64) (Input, error) + func NewBytesInput(buf []byte) Input + type Marshaler interface + Store func(out Output) (int, error) + type Output interface + WriteByte func(v byte) error + WriteUInt16 func(v uint16) (int, error) + WriteUInt32 func(v uint32) (int, error) + WriteVUInt32 func(v uint32) (int, error) + func NewBytesOutput(writer io.Writer) Output + type SliceAccessible interface + Data func() []byte + type Unmarshaler interface + Load func(in Input) (int, error)