utils library Null safety

Classes

CharCode

Constants

boundaryCharacters → const List<int>
<int>[43, 95, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 1…
F → const bool
false
GET_BOUNDARY → const String
'getx-http-boundary-'
SEPARATOR_MAP → const List<bool>
[F, F, F, F, F, F, F, F, F, T, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, T, F, T, F, F, F, F, F, T, T, F, F, T, F, F, T, F, F, F, F, F, F, F, F, F, F, T, T, T, T, T, T, T, F, F…
T → const bool
true

Properties

newlineRegExp RegExp
final

Functions

browserEncode(String value) String
Encode value like browsers
isPlainAscii(String string) bool
Returns whether string is composed entirely of ASCII-compatible characters.
isTokenChar(int byte) bool
isValueChar(int byte) bool
validateField(String field) String