Documentation ¶
Index ¶
- func PrintAsHex(w io.Writer, data []byte, begin, end int)
- type ByteBuffer
- func (this *ByteBuffer) Alloc(size int)
- func (this *ByteBuffer) Bytes() []byte
- func (this *ByteBuffer) Len() int
- func (this *ByteBuffer) Print(args ...interface{})
- func (this *ByteBuffer) PrintAsHex(w Writer, begin, end int)
- func (this *ByteBuffer) Printf(format string, args ...interface{})
- func (this *ByteBuffer) Printfln(format string, args ...interface{})
- func (this *ByteBuffer) Println(args ...interface{})
- func (this *ByteBuffer) Reset()
- func (this *ByteBuffer) String() string
- func (this *ByteBuffer) Write(val []byte) (int, error)
- func (this *ByteBuffer) WriteByte(val byte) error
- func (this *ByteBuffer) WriteByteN(val byte, num int) error
- func (this *ByteBuffer) WritePercentEscape(val []byte, charset *[256]uint32, mask uint32) (int, error)
- func (this *ByteBuffer) WriteString(val string) (int, error)
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByteBuffer ¶
type ByteBuffer struct {
// contains filtered or unexported fields
}
func NewByteBuffer ¶
func NewByteBuffer(buf []byte) *ByteBuffer
func (*ByteBuffer) Alloc ¶
func (this *ByteBuffer) Alloc(size int)
func (*ByteBuffer) Bytes ¶
func (this *ByteBuffer) Bytes() []byte
func (*ByteBuffer) Len ¶
func (this *ByteBuffer) Len() int
func (*ByteBuffer) Print ¶
func (this *ByteBuffer) Print(args ...interface{})
func (*ByteBuffer) PrintAsHex ¶
func (this *ByteBuffer) PrintAsHex(w Writer, begin, end int)
func (*ByteBuffer) Printf ¶
func (this *ByteBuffer) Printf(format string, args ...interface{})
func (*ByteBuffer) Printfln ¶
func (this *ByteBuffer) Printfln(format string, args ...interface{})
func (*ByteBuffer) Println ¶
func (this *ByteBuffer) Println(args ...interface{})
func (*ByteBuffer) Reset ¶
func (this *ByteBuffer) Reset()
func (*ByteBuffer) String ¶
func (this *ByteBuffer) String() string
func (*ByteBuffer) WriteByte ¶
func (this *ByteBuffer) WriteByte(val byte) error
func (*ByteBuffer) WriteByteN ¶
func (this *ByteBuffer) WriteByteN(val byte, num int) error
func (*ByteBuffer) WritePercentEscape ¶
func (*ByteBuffer) WriteString ¶
func (this *ByteBuffer) WriteString(val string) (int, error)
Click to show internal directories.
Click to hide internal directories.