Documentation
¶
Index ¶
- func UnsafeToString(b []byte) string
- type ByteBuffer
- func (bb *ByteBuffer) Bytes() []byte
- func (bb *ByteBuffer) Close() error
- func (bb *ByteBuffer) Len() int
- func (bb *ByteBuffer) Position() int
- func (bb *ByteBuffer) Read(buffer []byte) (int, error)
- func (bb *ByteBuffer) Reset()
- func (bb *ByteBuffer) Seek(offset int64, whence int) (int64, error)
- func (bb *ByteBuffer) String() string
- func (bb *ByteBuffer) Write(buffer []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByteBuffer ¶ added in v0.1.8
type ByteBuffer struct {
// contains filtered or unexported fields
}
func MakeByteBuffer ¶ added in v0.1.8
func MakeByteBuffer(buffer []byte) ByteBuffer
func (*ByteBuffer) Bytes ¶ added in v0.1.8
func (bb *ByteBuffer) Bytes() []byte
func (*ByteBuffer) Close ¶ added in v0.1.9
func (bb *ByteBuffer) Close() error
func (*ByteBuffer) Len ¶ added in v0.1.8
func (bb *ByteBuffer) Len() int
func (*ByteBuffer) Position ¶ added in v0.1.8
func (bb *ByteBuffer) Position() int
func (*ByteBuffer) Reset ¶ added in v0.1.8
func (bb *ByteBuffer) Reset()
func (*ByteBuffer) Seek ¶ added in v0.1.8
func (bb *ByteBuffer) Seek(offset int64, whence int) (int64, error)
func (*ByteBuffer) String ¶ added in v0.1.9
func (bb *ByteBuffer) String() string
Click to show internal directories.
Click to hide internal directories.