Function Address6.toString

Writes text representation of this address to an output range.

OR toString(OR) (
  OR output
) const
if (isOutputRange!(OR, const(char)[]));

Parameters

NameDescription
OR Type of the output range.
output Output range.

Returns

output.

Example

import tanya.container.string : String;
import tanya.range : backInserter;

String actual;

address6("1:2:3:4:5:6:7:8").get.toString(backInserter(actual));
assert(actual == "1:2:3:4:5:6:7:8");