Documentation ¶
Overview ¶
Package util contains small helpers used across the repo
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUint48 ¶
func AddUint48(b *cryptobyte.Builder, v uint64)
AddUint48 appends a big-endian, 48-bit value to the byte string. Remove if / when https://github.com/golang/crypto/pull/265 is merged upstream.
func BigEndianUint24 ¶
BigEndianUint24 returns the value of a big endian uint24
func PutBigEndianUint24 ¶
PutBigEndianUint24 encodes a uint24 and places into out
func PutBigEndianUint48 ¶
PutBigEndianUint48 encodes a uint64 and places into out
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.