Documentation ¶
Index ¶
- type PDU
- func (p *PDU) Append(b ...byte)
- func (p *PDU) Buf() []byte
- func (p *PDU) DropLeft(amount int) []byte
- func (p *PDU) DropRight(amount int) []byte
- func (p *PDU) ExtendLeft(amount int) []byte
- func (p *PDU) ExtendRight(amount int) []byte
- func (p *PDU) LeftCap() int
- func (p *PDU) Len() int
- func (p *PDU) NormalizeLeft(leftCap int)
- func (p *PDU) Realloc(leftCap int, dataLen int, dataCap int) bool
- func (p *PDU) Reset()
- func (p *PDU) RightCap() int
- func (p *PDU) SetState(expected int, new int)
- func (p PDU) String() string
- func (p *PDU) Truncate(length int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PDU ¶
type PDU struct {
// contains filtered or unexported fields
}
func (*PDU) ExtendLeft ¶
func (*PDU) ExtendRight ¶
func (*PDU) NormalizeLeft ¶
Click to show internal directories.
Click to hide internal directories.