encodeCborArray

Encodes structs and classes as cbor array.

  1. size_t encodeCborArray(auto ref R sink, E value)
  2. size_t encodeCborArray(auto ref R sink, A aggregate)
    size_t
    encodeCborArray
    (
    Flag!"Flatten" flatten = No.Flatten
    R
    A
    )
    (
    auto ref R sink
    ,
    )
    if (
    isOutputRange!(R, ubyte) &&
    (
    is(A == struct) ||
    is(A == class)
    )
    &&
    !isTuple!A
    )

Meta