MCPcopy Create free account
hub / github.com/facebook/time / BitWriter

Struct BitWriter

rtcm/bits.go:67–70  ·  view source on GitHub ↗

BitWriter writes arbitrary numbers of bits to a byte slice.

Source from the content-addressed store, hash-verified

65
66// BitWriter writes arbitrary numbers of bits to a byte slice.
67type BitWriter struct {
68 data []byte
69 pos int
70}
71
72// NewBitWriter creates a BitWriter with the given initial capacity in bytes.
73func NewBitWriter(capacity int) *BitWriter {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected