Documentation ¶
Overview ¶
Package bits provides access to read and write values bit-by-bit.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer wraps an io.Writer and provides the ability to write values bit-by-bit to it. It's Write* methods don't return the usual error because error handling is verbose. Instead, any error is kept and can be checked afterwards.
Click to show internal directories.
Click to hide internal directories.