Documentation ¶
Index ¶
- type Codec
- func (s *Codec) Bool(v bool) *Codec
- func (s *Codec) Byte(v byte) *Codec
- func (s *Codec) Bytes(v []byte) *Codec
- func (s *Codec) Content() []byte
- func (s *Codec) Float(f float64) *Codec
- func (s *Codec) Int(v int64) *Codec
- func (s *Codec) Recycle()
- func (s *Codec) Str(v string) *Codec
- func (s *Codec) StrSlice(v []string) *Codec
- func (s *Codec) Uint32(v uint32) *Codec
- func (s *Codec) Uint32Slice(v []uint32) *Codec
- type Integer
- type Reader
- func (s *Reader) Bool() bool
- func (s *Reader) Byte() byte
- func (s *Reader) Done() bool
- func (s *Reader) Float64() float64
- func (s *Reader) Int64() int64
- func (s *Reader) RawBytes() []byte
- func (s *Reader) Str() string
- func (s *Reader) StrSlice() []string
- func (s *Reader) Uint32() uint32
- func (s *Reader) Uint32Slice() []uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec struct {
// contains filtered or unexported fields
}
Codec is the primary type for encoding data into a specific format.
func (*Codec) Uint32Slice ¶
type Integer ¶ added in v1.7.3
type Integer constraints.Integer
type Reader ¶ added in v1.9.0
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) Uint32Slice ¶ added in v1.9.0
Click to show internal directories.
Click to hide internal directories.