Skip to content

Commit 88eca07

Browse files
committed
removing added unsigned method from protocol
1 parent cdfa9ae commit 88eca07

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Sources/BitWriter.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ public protocol BitWriter {
2525

2626
/// Writes `number`, using and advancing by `bitsCount` BIT positions.
2727
func write(number: Int, bitsCount: Int)
28-
29-
/// because you cant convert a UInt64 into an Int without potential for overflowing it, we need an unsingned variant of `write`
30-
/// Writes unsigned `number`, using and advancing by `bitsCount` BIT positions.
31-
func write(unsignedNumber: UInt, bitsCount: Int)
3228

3329
/// Writes `byte`, advancing by one BYTE position.
3430
func append(byte: UInt8)
@@ -49,4 +45,4 @@ extension BitWriter {
4945
}
5046
}
5147

52-
}
48+
}

0 commit comments

Comments
 (0)