Skip to content

Import path: gitlab.soludian.com/soludian/fountain/libs/buff

buff

go
import "gitlab.soludian.com/soludian/fountain/libs/buff"

Index

type DecodeBuf

go
type DecodeBuf struct {
    // contains filtered or unexported fields
}

func NewDecodeBuf

go
func NewDecodeBuf(b []byte) *DecodeBuf

func (*DecodeBuf) BigInt

go
func (m *DecodeBuf) BigInt() *big.Int

func (*DecodeBuf) Bytes

go
func (m *DecodeBuf) Bytes(size int) []byte

func (*DecodeBuf) Double

go
func (m *DecodeBuf) Double() float64

func (*DecodeBuf) GetError

go
func (m *DecodeBuf) GetError() error

func (*DecodeBuf) Int

go
func (m *DecodeBuf) Int() int32

func (*DecodeBuf) Long

go
func (m *DecodeBuf) Long() int64

func (*DecodeBuf) String

go
func (m *DecodeBuf) String() string

func (*DecodeBuf) StringBytes

go
func (m *DecodeBuf) StringBytes() []byte

func (*DecodeBuf) UInt

go
func (m *DecodeBuf) UInt() uint32

type EncodeBuf

go
type EncodeBuf struct {
    // contains filtered or unexported fields
}

func NewEncodeBuf

go
func NewEncodeBuf(cap int) *EncodeBuf

func (*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() []byte

func (*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