Documentation ¶
Index ¶
- Constants
- func ExtendCustomType(itype reflect.Type, bSign byte, ...)
- type BinBuffer
- func (b *BinBuffer) Bytes() ([]byte, error)
- func (b *BinBuffer) Dispose()
- func (b *BinBuffer) ErrorInfo() string
- func (b *BinBuffer) PushArray(value []interface{}) *BinBuffer
- func (b *BinBuffer) PushBool(value bool) *BinBuffer
- func (b *BinBuffer) PushByte(value byte) *BinBuffer
- func (b *BinBuffer) PushBytes(value []byte) *BinBuffer
- func (b *BinBuffer) PushFloat(value float32) *BinBuffer
- func (b *BinBuffer) PushHash(value map[interface{}]interface{}) *BinBuffer
- func (b *BinBuffer) PushInt(value int32) *BinBuffer
- func (b *BinBuffer) PushInts(value []int32) *BinBuffer
- func (b *BinBuffer) PushLong(value int64) *BinBuffer
- func (b *BinBuffer) PushObject(value interface{}) *BinBuffer
- func (b *BinBuffer) PushShort(value int16) *BinBuffer
- func (b *BinBuffer) PushString(value string) *BinBuffer
- type BinParser
- func (b *BinParser) Array() []interface{}
- func (b *BinParser) Bool() bool
- func (b *BinParser) Byte() byte
- func (b *BinParser) Bytes() []byte
- func (b *BinParser) Error() error
- func (b *BinParser) ErrorInfo() string
- func (b *BinParser) Float() float32
- func (b *BinParser) Hash() map[interface{}]interface{}
- func (b *BinParser) Int() int32
- func (b *BinParser) Ints() []int32
- func (b *BinParser) Long() int64
- func (b *BinParser) Object() interface{}
- func (b *BinParser) OverFlow() bool
- func (b *BinParser) Short() int16
- func (b *BinParser) String() string
- type CustomType
Constants ¶
View Source
const ( Byte byte = 'b' Short = 't' Int = 'i' Long = 'l' String = 's' Float = 'f' Ints = 'I' Array = 'A' Hash = 'H' Bool = 'B' Null = 'N' Unknow = 0 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BinBuffer ¶
type BinBuffer struct {
// contains filtered or unexported fields
}
func BuildBuffer ¶
func (*BinBuffer) PushObject ¶
func (*BinBuffer) PushString ¶
type BinParser ¶
type BinParser struct {
// contains filtered or unexported fields
}
func BuildParser ¶
type CustomType ¶
type CustomType struct {
// contains filtered or unexported fields
}
func NewCustomType ¶
Click to show internal directories.
Click to hide internal directories.