Documentation ¶
Index ¶
- type FastBuffer
- func (f *FastBuffer) Bytes() []byte
- func (f *FastBuffer) Grow(n int)
- func (f *FastBuffer) Len() int
- func (f *FastBuffer) Reset()
- func (f *FastBuffer) Reslice(start, end int)
- func (f *FastBuffer) String() string
- func (f *FastBuffer) UnsafeString() string
- func (f *FastBuffer) Write(p []byte) (n int, err error)
- func (f *FastBuffer) WriteBytes(b []byte)
- func (f *FastBuffer) WriteString(s string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FastBuffer ¶
type FastBuffer struct {
// contains filtered or unexported fields
}
func New ¶
func New() *FastBuffer
func (*FastBuffer) Bytes ¶
func (f *FastBuffer) Bytes() []byte
func (*FastBuffer) Grow ¶
func (f *FastBuffer) Grow(n int)
Grow increases the buffer capacity to be able to hold at least n more bytes
func (*FastBuffer) Len ¶
func (f *FastBuffer) Len() int
func (*FastBuffer) Reset ¶
func (f *FastBuffer) Reset()
func (*FastBuffer) Reslice ¶
func (f *FastBuffer) Reslice(start, end int)
func (*FastBuffer) String ¶
func (f *FastBuffer) String() string
func (*FastBuffer) UnsafeString ¶
func (f *FastBuffer) UnsafeString() string
func (*FastBuffer) WriteBytes ¶
func (f *FastBuffer) WriteBytes(b []byte)
func (*FastBuffer) WriteString ¶
func (f *FastBuffer) WriteString(s string)
Click to show internal directories.
Click to hide internal directories.