Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocAligned ¶
AllocAligned allocates a new byte slice of length n, ensuring the address of the beginning of the slice is word aligned. Go does not guarantee that a simple make([]byte, n) is aligned.
func CommonPrefix ¶
CommonPrefix returns the longest prefix shared by the two slices.
func CopyAligned ¶
CopyAligned copies the provided byte slice into an aligned byte slice of the same length.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.