代码拉取完成,页面将自动刷新
package writer
import "io"
// BitWriter is the interface that allows to write single bits.
type BitWriter interface {
// WriteBit writes the 'bit' - {0,1} value to the writer.
WriteBit(bit int) error
// WriteBits writes 'number' of 'bits'.
WriteBits(bits uint64, number int) (n int, err error)
// FinishByte sets the bitIndex to the end of given byte. This resets the bitIndex to 0
// and the byte index to the next byte.
FinishByte()
// SkipBits skips the 'skip' number of bits in the writer - changes the index position of the bit and byte.
// The value -1 sets the bitIndex to the beginning of the byte.
SkipBits(skip int) error
}
// BinaryWriter is the interface that implements writer.BitWriter, io.Writer and io.ByteWriter.
type BinaryWriter interface {
BitWriter
io.Writer
io.ByteWriter
Data() []byte
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。