Documentation
¶
Overview ¶
Package packer implements packaging of various types into bytes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BytesUnpacker ¶
type BytesUnpacker struct {
// contains filtered or unexported fields
}
func NewBytesUnpacker ¶
func NewBytesUnpacker(data []byte) *BytesUnpacker
func (*BytesUnpacker) GetBinary ¶
func (u *BytesUnpacker) GetBinary() []byte
func (*BytesUnpacker) GetUint32 ¶
func (u *BytesUnpacker) GetUint32() uint32
func (*BytesUnpacker) GetVarint ¶
func (u *BytesUnpacker) GetVarint() (int64, error)
func (*BytesUnpacker) Len ¶
func (u *BytesUnpacker) Len() int
Click to show internal directories.
Click to hide internal directories.