printCborStream

Outputs textual representation of cbor stream into sink or stdout if not provided.

  1. void printCborStream(auto ref R input, ulong numItems = ulong.max)
  2. void printCborStream(auto ref R input, auto ref Sink sink, ulong numItems = ulong.max, string indent = "")
    void
    printCborStream
    (
    string singleIndent = " "
    Sink
    R
    )
    (
    auto ref R input
    ,
    auto ref Sink sink
    ,
    ulong numItems = ulong.max
    ,
    string indent = ""
    )
    if (
    isInputRange!R &&
    is(ElementType!R == ubyte)
    &&
    isOutputRange!(Sink, char)
    )

Meta