Removed unnecessary comment.
Signed-off-by: Adam Rocska <adam.rocska@adams.solutions>
This commit is contained in:
parent
7bde17165c
commit
7fff4d7a13
|
@ -40,17 +40,6 @@ struct ControlByte {
|
|||
count: 4 - bytesAfterTypeSpecifyingBytes.count
|
||||
)
|
||||
|
||||
/// (n=0;00) : 28 | 28
|
||||
/// (n=1;01) : 29 |
|
||||
/// (n=2;10) : 285 | 255 + 30
|
||||
/// (n=3;11) : 65821 | 65535 + 286
|
||||
/// ——————————————————————————————————————————————————
|
||||
/// (n=0;00) : 28 | 28
|
||||
/// (n=1;01) : 29 | 0 + f(n-1) + 1
|
||||
/// (n=2;10) : 285 | 255 + f(n-1) + 1
|
||||
/// (n=3;11) : 65821 | 65535 + f(n-1) + 1
|
||||
/// ——————————————————————————————————————————————————
|
||||
|
||||
let val = (0..<numberOfAdditionalBytesToRead)
|
||||
.map({ Int($0) })
|
||||
.reduce(UInt32(28)) { previous, byteCount in
|
||||
|
|
Loading…
Reference in New Issue