import "github.com/byte-mug/golibs/bufferex"
type Binary struct { // contains filtered or unexported fields }
-
func AllocBinary(n int) (b Binary)
-
func NewBinary(data []byte) (b Binary)
-
func NewBinaryInplace(data []byte) (b Binary)
-
func NewBinaryStr(data string) (b Binary)
-
func (b Binary) BufferAllocUnit() *[]byte
-
func (b Binary) Bytes() []byte
-
func (b Binary) Free()
-
import "github.com/byte-mug/golibs/buffer"