Documentation
¶
Index ¶
Constants ¶
View Source
const ( One = true Zero = false )
View Source
const ( ErrBitsCountMismatch = "Bits Count Mismatch" ErrBitsMismatch = "Bits Mismatch" ErrBytesMismatch = "Bytes Mismatch" ErrNullPointer = "Null Pointer" )
Errors.
View Source
const BitsPerByte = 8
View Source
const TestNameErrDelimiter = ":"
Variables ¶
This section is empty.
Functions ¶
func ConvertBitsToBytes ¶
ConvertBitsToBytes converts the Array of Bits into an Array of Bytes.
func ConvertByteBitsToByte ¶
func ConvertByteBitsToByte( bits [BitsPerByte]Bit, ) (result byte)
ConvertByteBitsToByte converts the eight Bits into a Byte.
Types ¶
type Bit ¶
type Bit bool
func ConvertByteToBits ¶
ConvertByteToBits converts the Byte into an Array of Bits.
func ConvertBytesToBits ¶
ConvertBytesToBits converts the Array of Bytes into an Array of Bits.
Click to show internal directories.
Click to hide internal directories.