• Home
  • Raw
  • Download

Lines Matching full:hex

1 [/ File hex.qbk]
3 [section:hex hex]
12hex.hpp'` contains three variants each of two algorithms, `hex` and `unhex`. They are inverse algo…
14 `hex` and `unhex` come from MySQL, where they are used in database queries and stored procedures.
18 The function `hex` takes a sequence of values and writes hexadecimal characters. There are three di…
24 OutputIterator hex ( InputIterator first, InputIterator last, OutputIterator out );
27 OutputIterator hex ( const T *ptr, OutputIterator out );
30 OutputIterator hex ( const Range &r, OutputIterator out );
33 `hex` writes only values in the range '0'..'9' and 'A'..'F', but is not limited to character output…
35 The function `unhex` takes the output of `hex` and turns it back into a sequence of values.
37 The input parameters for the different variations of `unhex` are the same as `hex`.
51 The header 'hex.hpp' defines three exception classes:
58 If the input to `unhex` does not contain an "even number" of hex digits, then an exception of type …
69 hex ( "abcdef", out ) --> "616263646566"
70 hex ( "32", out ) --> "3332"
71 hex ( "abcdef", wout ) --> "006100620063006400650066"
72 hex ( "32", wout ) --> "00330032"
82 unhex ( "ACEG", out ) --> Error - non-hex input
88 `hex` and `unhex` work on all iterator types.
92 All of the variants of `hex` and `unhex` run in ['O(N)] (linear) time; that is, that is, they proce…
96 All of the variants of `hex` and `unhex` take their parameters by value or const reference, and do …
100 * `hex` and `unhex` both do nothing when passed empty ranges.
104 [/ File hex.qbk