toString

fun Asn1Element.toString(sink: Sink, limit: Long = MAX_RENDER_CHARS)(source)

Writes the compact (toString) rendering of this element as UTF-8 into sink, truncating after limit characters (with a marker). Streaming to a sink lets you produce renderings larger than the in-memory Asn1Element.toString; pass a larger limit to render more.