Use `UInt8(ascii:)` initializer in `RESPTranslator`
In the UInt8
extensions we have stuff like static let newline: UInt8 = 0xA
, this should be spelled static let newline = UInt8(ascii: "\n")
, that's much more readable and just as fast.
In the UInt8
extensions we have stuff like static let newline: UInt8 = 0xA
, this should be spelled static let newline = UInt8(ascii: "\n")
, that's much more readable and just as fast.