Documentation
¶
Index ¶
- func PackStrArr(w io.Writer, strs []string) error
- func PackUInt(w io.Writer, ival uint64) error
- func PackValue(w io.Writer, barr []byte) error
- func UnpackStrArr(r FullByteReader) ([]string, error)
- func UnpackUInt(r io.ByteReader) (uint64, error)
- func UnpackUIntAsInt(r io.ByteReader) (int, error)
- func UnpackValue(r FullByteReader) ([]byte, error)
- type FullByteReader
- type Unpacker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnpackStrArr ¶
func UnpackStrArr(r FullByteReader) ([]string, error)
func UnpackUInt ¶
func UnpackUInt(r io.ByteReader) (uint64, error)
func UnpackUIntAsInt ¶
func UnpackUIntAsInt(r io.ByteReader) (int, error)
func UnpackValue ¶
func UnpackValue(r FullByteReader) ([]byte, error)
Types ¶
type FullByteReader ¶
type FullByteReader interface { io.ByteReader io.Reader }
type Unpacker ¶
type Unpacker struct { R FullByteReader Err error }
func MakeUnpacker ¶
func MakeUnpacker(r FullByteReader) *Unpacker
func (*Unpacker) UnpackStrArr ¶
func (*Unpacker) UnpackUInt ¶
func (*Unpacker) UnpackValue ¶
Click to show internal directories.
Click to hide internal directories.