Package bufferex

import "github.com/byte-mug/golibs/bufferex"

Overview

Index

type Binary

type Binary struct {
	// contains filtered or unexported fields
}

-

func AllocBinary

func AllocBinary(n int) (b Binary)

-

func NewBinary

func NewBinary(data []byte) (b Binary)

-

func NewBinaryInplace

func NewBinaryInplace(data []byte) (b Binary)

-

func NewBinaryStr

func NewBinaryStr(data string) (b Binary)

-

func (Binary) BufferAllocUnit

func (b Binary) BufferAllocUnit() *[]byte

-

func (Binary) Bytes

func (b Binary) Bytes() []byte

-

func (Binary) Free

func (b Binary) Free()

-

Dependencies