Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToFloat64 ¶
BytesToFloat64 converts bytes to Float64
func ConcatAddress ¶
ConcatAddress concatonates an address and a port into an authority
func EncodeULeb128 ¶
EncodeULeb128 encode's an unsigned int32 value to an unsigned LEB128 value. Returns the result in a byte slice
func PeekULeb128 ¶
PeekULeb128 reads and decodes an unsigned LEB128 value from a ByteReader to an unsigned int32 value. Returns the result as a uint32, along with the data read. This is more resource intensive than ReadULeb128, and it is advised that whenever possible you should use ReadULeb128 instead.
func ReadULeb128 ¶
ReadULeb128 reads and decodes an unsigned LEB128 value from a ByteReader to an unsigned int32 value. Returns the result as a uint32
func SanitizeKey ¶
SanitizeKey ensures that the key does not have any trailing '/'s and starts with a '/'
Types ¶
This section is empty.