Documentation
¶
Overview ¶
Package containing helper structures and function
Index ¶
- type Buffer
- func (b *Buffer) Bytes() []byte
- func (b *Buffer) ReadUint8() byte
- func (b *Buffer) ReadUint8Slice(rec []uint8)
- func (b *Buffer) ReadUint64() uint64
- func (b *Buffer) ReadUint64Slice(rec []uint64)
- func (b *Buffer) WriteUint8(c byte)
- func (b *Buffer) WriteUint8Slice(s []uint8)
- func (b *Buffer) WriteUint64(v uint64)
- func (b *Buffer) WriteUint64Slice(s []uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
Buffer is a simple wrapper around a []byte to facilitate efficient marshaling of lattigo's objects
func (*Buffer) ReadUint8Slice ¶ added in v1.1.0
func (*Buffer) ReadUint64 ¶
func (*Buffer) ReadUint64Slice ¶
func (*Buffer) WriteUint8 ¶
func (*Buffer) WriteUint8Slice ¶ added in v1.1.0
func (*Buffer) WriteUint64 ¶
func (*Buffer) WriteUint64Slice ¶
Click to show internal directories.
Click to hide internal directories.