We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c46211e commit 3423d65Copy full SHA for 3423d65
2 files changed
Sources/BitReader.swift
@@ -48,8 +48,6 @@ public protocol BitReader: class {
48
extension BitReader {
49
50
/**
51
- Reads `count` bits and returns them as an array of `UInt8`, advancing by `count` BIT positions.
52
-
53
- Warning: Doesn't check if there is any data left.
54
*/
55
public func bits(count: Int) -> [UInt8] {
Sources/BitWriter.swift
@@ -39,7 +39,6 @@ public protocol BitWriter {
39
40
extension BitWriter {
41
42
- /// Writes `bits`, advancing by `bits.count` BIT positions.
43
public func write(bits: [UInt8]) {
44
for bit in bits {
45
self.write(bit: bit)
0 commit comments