toHex

Conversion from bytes to hexadecimal strings.

  1. char[] toHex(ubyte[] data, char[] buf)
    template toHex(alias digits = hexDigits)
    pure
    char[]
    toHex
    (
    in ubyte[] data
    ,
    char[] buf
    )
  2. char[n * 2] toHex(ubyte[n] data)
  3. string toHex(ubyte[] data)
  4. void toHex(T n, char[U] buf)
  5. char[T.sizeof * 2] toHex(T n)

Members

Functions

toHex
char[] toHex(ubyte[] data, char[] buf)

Dynamic array version.

toHex
char[n * 2] toHex(ubyte[n] data)

Static array version.

toHex
string toHex(ubyte[] data)

Allocating version.

Meta