Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶
func RenderExplainAnalyze ¶ added in v1.0.4
Types ¶
type BufAllocator ¶
type BufAllocator struct {
// contains filtered or unexported fields
}
BufAllocator helps you manage multi chunks in one []byte.
func NewBufAllocator ¶
func NewBufAllocator() *BufAllocator
NewBufAllocator creates a NewBufAllocator
func (*BufAllocator) Alloc ¶
func (b *BufAllocator) Alloc(n int) []byte
Alloc allocates a new chunk with the specified size n.
Click to show internal directories.
Click to hide internal directories.