Documentation
¶
Index ¶
- func Bytes(b []byte) []byte
- func Decode(b []byte) ([]interface{}, error)
- func EqualBytes(obj interface{}, b []byte) bool
- func EqualToken(obj interface{}, b TokenType) bool
- func EqualUInt(obj interface{}, b uint) bool
- func Token(tok TokenType) []byte
- func UInt(val uint) []byte
- type BytesData
- type TokenData
- type TokenType
- type UIntData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualBytes ¶
func EqualToken ¶
Types ¶
type TokenType ¶
type TokenType uint8
var ( StartList TokenType = 0xF0 EndList TokenType = 0xF1 StartName TokenType = 0xF2 EndName TokenType = 0xF3 Call TokenType = 0xF8 EndOfData TokenType = 0xF9 EndOfSession TokenType = 0xFA StartTransaction TokenType = 0xFB EndTransaction TokenType = 0xFC EmptyAtom TokenType = 0xFF ErrUnbalancedList = errors.New("message contained unbalanced list structures") )
Click to show internal directories.
Click to hide internal directories.