Searched refs:lenBytes (Results 1 – 1 of 1) sorted by relevance
40 var lenBytes = byteArray(from: size) in contentLength() variable41 while lenBytes.first == 0 { lenBytes.removeFirst() } in contentLength()42 let len: UInt8 = 0x80 | UInt8(lenBytes.count) in contentLength()43 return Data([len] + lenBytes) in contentLength()