readHexNumber

Immediatly reads an hexadecimal number.

readHexNumber
(
Range
)
(
auto ref Range range
)

Examples

1 auto text1 = "1a2B3C o";
2 assert(text1.readHexNumber == "1a2B3C");
3 assert(text1 == " o");
4 auto text2 = "A897F2f2Ff2fF3c6C9c9Cc9cC9c123 o";
5 assert(text2.readHexNumber == "A897F2f2Ff2fF3c6C9c9Cc9cC9c123");
6 assert(text2 == " o");

Meta