BitBlob.toString

Format the hash as a lowercase hex string

Used by std.format and other formatting primitives. Does not allocate/throw if the sink does not allocate/throw.

  1. void toString(void delegate(const(char)[]) @(safe) sink)
    struct BitBlob(size_t Size)
    @safe const
    void
    toString
    (
    scope void delegate
    (
    const(char)[]
    )
    @safe
    sink
    )
  2. void toString(void delegate(const(char)[]) @(safe) sink, FormatSpec!char spec)
  3. string toString()

Parameters

sink void delegate
(
const(char)[]
)
@safe

A delegate that can be called repeatedly to accumulate the data

See Also

Meta