Documentation
¶
Index ¶
- Constants
- func BitsToByte(bits []bool) byte
- func BitsToBytes(bits []bool) []byte
- func BytesToBits(bytes []byte) []bool
- func EncodeUint16BE(u uint16) []byte
- func EncodeUint24BE(u uint32) ([]byte, error)
- func EncodeUint32BE(u uint32) []byte
- func StringBits(data []byte) string
- func StringBits0(data []bool) string
- type BitQueue
Constants ¶
View Source
const BitsPerByte = 8
Variables ¶
This section is empty.
Functions ¶
func BitsToByte ¶
func BitsToBytes ¶
func BytesToBits ¶
func EncodeUint16BE ¶
func EncodeUint24BE ¶
func EncodeUint32BE ¶
func StringBits ¶
func StringBits0 ¶
Types ¶
type BitQueue ¶
type BitQueue struct {
// contains filtered or unexported fields
}
func MakeBitBuffer ¶
func (*BitQueue) SpaceCount ¶
Click to show internal directories.
Click to hide internal directories.