arena.go
func NewArena(size uint32) *Arena {
	// Don't store data at position 0 in order to reserve offset=0 as a kind
	// of nil pointer.
	out := &Arena{
		n:   1,
		buf: make([]byte, size),
	}

	return out
}
func NewArena(size uint32) *Arena {
	// Don't store data at position 0 in order to reserve offset=0 as a kind
	// of nil pointer.
	out := &Arena{
		n:   1,
		buf: make([]byte, size),
	}

	return out
}
func NewArena ( size uint32 ) * Arena { // Don't store data at position 0 in order to reserve offset=0 as a kind // of nil pointer. out := & Arena { n : 1 , buf : make ( [ ] byte , size ) , } return out }
// NewArena allocates a new arena of the specified size and returns it.
NewArena allocates a new arena of the specified size and returns it .