Import path:
gitlab.soludian.com/soludian/fountain/libs/buff
buff
go
import "gitlab.soludian.com/soludian/fountain/libs/buff"Index
- type DecodeBuf
- func NewDecodeBuf(b []byte) *DecodeBuf
- func (m *DecodeBuf) BigInt() *big.Int
- func (m *DecodeBuf) Bytes(size int) []byte
- func (m *DecodeBuf) Double() float64
- func (m *DecodeBuf) GetError() error
- func (m *DecodeBuf) Int() int32
- func (m *DecodeBuf) Long() int64
- func (m *DecodeBuf) String() string
- func (m *DecodeBuf) StringBytes() []byte
- func (m *DecodeBuf) UInt() uint32
- type EncodeBuf
- func NewEncodeBuf(cap int) *EncodeBuf
- func (e *EncodeBuf) BigInt(s *big.Int)
- func (e *EncodeBuf) Bytes(s []byte)
- func (e *EncodeBuf) Double(s float64)
- func (e *EncodeBuf) GetBuf() []byte
- func (e *EncodeBuf) Int(s int32)
- func (e *EncodeBuf) Int16(s int16)
- func (e *EncodeBuf) Long(s int64)
- func (e *EncodeBuf) String(s string)
- func (e *EncodeBuf) StringBytes(s []byte)
- func (e *EncodeBuf) UInt(s uint32)
- func (e *EncodeBuf) UInt16(s uint16)
type DecodeBuf
go
type DecodeBuf struct {
// contains filtered or unexported fields
}func NewDecodeBuf
go
func NewDecodeBuf(b []byte) *DecodeBuffunc (*DecodeBuf) BigInt
go
func (m *DecodeBuf) BigInt() *big.Intfunc (*DecodeBuf) Bytes
go
func (m *DecodeBuf) Bytes(size int) []bytefunc (*DecodeBuf) Double
go
func (m *DecodeBuf) Double() float64func (*DecodeBuf) GetError
go
func (m *DecodeBuf) GetError() errorfunc (*DecodeBuf) Int
go
func (m *DecodeBuf) Int() int32func (*DecodeBuf) Long
go
func (m *DecodeBuf) Long() int64func (*DecodeBuf) String
go
func (m *DecodeBuf) String() stringfunc (*DecodeBuf) StringBytes
go
func (m *DecodeBuf) StringBytes() []bytefunc (*DecodeBuf) UInt
go
func (m *DecodeBuf) UInt() uint32type EncodeBuf
go
type EncodeBuf struct {
// contains filtered or unexported fields
}func NewEncodeBuf
go
func NewEncodeBuf(cap int) *EncodeBuffunc (*EncodeBuf) BigInt
go
func (e *EncodeBuf) BigInt(s *big.Int)func (*EncodeBuf) Bytes
go
func (e *EncodeBuf) Bytes(s []byte)func (*EncodeBuf) Double
go
func (e *EncodeBuf) Double(s float64)func (*EncodeBuf) GetBuf
go
func (e *EncodeBuf) GetBuf() []bytefunc (*EncodeBuf) Int
go
func (e *EncodeBuf) Int(s int32)func (*EncodeBuf) Int16
go
func (e *EncodeBuf) Int16(s int16)func (*EncodeBuf) Long
go
func (e *EncodeBuf) Long(s int64)func (*EncodeBuf) String
go
func (e *EncodeBuf) String(s string)func (*EncodeBuf) StringBytes
go
func (e *EncodeBuf) StringBytes(s []byte)func (*EncodeBuf) UInt
go
func (e *EncodeBuf) UInt(s uint32)func (*EncodeBuf) UInt16
go
func (e *EncodeBuf) UInt16(s uint16)Generated by gomarkdoc