mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Periphery cleanup (#5893)
This commit is contained in:
@@ -97,10 +97,6 @@ private nonisolated extension [Bit] {
|
||||
try takeBits(8)
|
||||
}
|
||||
|
||||
mutating func takeUInt16() throws(BitError) -> UInt16 {
|
||||
try takeBits16(16)
|
||||
}
|
||||
|
||||
mutating func takeBinarySegment(_ version: Int) throws(BitError) -> [UInt8] {
|
||||
let characterCountLength = version > 9 ? 16 : 8
|
||||
let charactersCount = try takeBits16(characterCountLength)
|
||||
|
||||
Reference in New Issue
Block a user