Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func New(len, cap int) []byte Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(len, cap int) []byte New returns a new byte slice of the specified length and capacity where the backing memory is uninitialized. This differs from make([]byte) which guarantees that the backing memory for the slice is initialized to zero. Use carefully. Types ¶ This section is empty. Source Files ¶ View all Source files rawalloc.go rawalloc_64bit.go rawalloc_go1.9.go Click to show internal directories. Click to hide internal directories.