Documentation ¶
Index ¶
- type Encoder
- func (e *Encoder) Bytes() []byte
- func (e *Encoder) EncodeMessage(msg *metadata.Message, data []byte)
- func (e *Encoder) EncodeMessageFast(msg *metadata.Message, data []byte)
- func (e *Encoder) Error() error
- func (e *Encoder) Reserve(addition int)
- func (e *Encoder) Reset()
- func (e *Encoder) WriteByte(b byte) error
- func (e *Encoder) WriteByte2(b0 byte, b1 byte)
- func (e *Encoder) WriteBytes(s []byte)
- func (e *Encoder) WriteSafeString(s []byte)
- func (e *Encoder) WriteString(s string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func NewEncoder ¶
func (*Encoder) EncodeMessageFast ¶
func (*Encoder) WriteByte2 ¶
func (*Encoder) WriteBytes ¶
func (*Encoder) WriteSafeString ¶
func (*Encoder) WriteString ¶
Click to show internal directories.
Click to hide internal directories.