Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteBuffer ¶
type ByteBuffer struct {
// contains filtered or unexported fields
}
ByteBuffer is a wrapper around a slice to reduce memory allocation while handling blob of data.
func (*ByteBuffer) Bytes ¶
func (buffer *ByteBuffer) Bytes() []byte
Bytes returns the content buffer.
func (*ByteBuffer) Close ¶
func (buffer *ByteBuffer) Close()
Close recycles underlying resources of encoder.
func (*ByteBuffer) Concat ¶
func (buffer *ByteBuffer) Concat(args ...string)
Concat appends given arguments to blob content
func (*ByteBuffer) String ¶
func (buffer *ByteBuffer) String() string
String returns the content buffer.
Click to show internal directories.
Click to hide internal directories.