package
0.0.0-20241212132234-0076f9e1ccd7
Repository: https://github.com/basecomplextech/baselibrary.git
Documentation: pkg.go.dev

# Functions

Compare128 compares two bin128 values.
Compare256 compares two bin256 values.
Compare64 compares two bin64 values.
Int128 returns a bin128 from two int64 encoded as big-endian.
Int256 returns a bin256 from four int64s encoded as big-endian.
Int64 returns a bin64 from an int64, encoded as big-endian.
MustParseString128 parses a bin128 from 33-char string or panics.
MustParseString256 parses a bin256 from 67-char string or panics.
MustParseString64 parses a bin64 from 16-char string or panics.
New128 returns a bin128 from a byte array.
New256 returns a bin256 from a byte array.
New64 returns a bin64 from a byte array.
Parse128 parses a bin128 value from a 16-byte array.
Parse256 parses a bin256 from a 32-byte array.
Parse64 parses a bin64 value from a 16-byte array.
ParseString128 parses a bin128 from 33-char string.
ParseString256 parses a bin256 from 67-char string.
ParseString64 parses a bin64 from 32-char string.
Random128 returns a random bin128.
Random256 returns a random bin256.
Random64 returns a random bin64.
Sort128 sorts bin128 values.
Sort256 sorts bin256 values.
Sort64 sorts bin64 values.
TimeRandom128 returns a time-random bin128 with a millisecond resolution.
TimeRandom256 returns a time-random bin256 with a millisecond resolution.
TimeRandom64 returns a time-random bin64 with a second resolution.

# Constants

No description provided by the author
341a7d60bc5893a6-4bda3de06721534c.
No description provided by the author
No description provided by the author
No description provided by the author
341a7d60bc5893a6.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Hash128 is a common interface for hash functions which return hashes as bin128.
Hash256 is a common interface for hash functions which return hashes as bin256.

# Type aliases

Bin128 is a 128-bit value.
Bin256 is a 32 byte value.
Bin64 is a binary 64-bit value.