File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ import protocol Foundation.LocalizedError
16
16
import NIO
17
17
18
18
extension UInt8 {
19
- static let newline : UInt8 = 0xA
20
- static let carriageReturn : UInt8 = 0xD
21
- static let dollar : UInt8 = 0x24
22
- static let asterisk : UInt8 = 0x2A
23
- static let plus : UInt8 = 0x2B
24
- static let hyphen : UInt8 = 0x2D
25
- static let colon : UInt8 = 0x3A
19
+ static let newline = UInt8 ( ascii : " \n " )
20
+ static let carriageReturn = UInt8 ( ascii : " \r " )
21
+ static let dollar = UInt8 ( ascii : " $ " )
22
+ static let asterisk = UInt8 ( ascii : " * " )
23
+ static let plus = UInt8 ( ascii : " + " )
24
+ static let hyphen = UInt8 ( ascii : " - " )
25
+ static let colon = UInt8 ( ascii : " : " )
26
26
}
27
27
28
28
/// Provides methods for translating between byte streams and Swift types
You can’t perform that action at this time.
0 commit comments