Documentation ¶ Index ¶ func Bytes(len, cap int) (b []byte) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Bytes ¶ func Bytes(len, cap int) (b []byte) Bytes allocates a byte slice but does not clean up the memory it references. Throw a fatal error instead of panic if cap is greater than runtime.maxAlloc. NOTE: MUST set any byte element before it's read. Types ¶ This section is empty. Source Files ¶ View all Source files bytes.go Click to show internal directories. Click to hide internal directories.