Creates a DERElement from the supplied bytes, inferring that the first byte is the type tag. The supplied ubyte[] array is read, starting from the index specified by bytesRead, and increments bytesRead by the number of bytes read.
All of the same exceptions as fromBytes()
// Decoding looks like: DERElement[] result; size_t i = 0u; while (i < bytes.length) result ~= new DERElement(i, bytes); // Encoding looks like: ubyte[] result; foreach (dv; dervalues) { result ~= cast(ubyte[]) dv; }
See Implementation
Creates a DERElement from the supplied bytes, inferring that the first byte is the type tag. The supplied ubyte[] array is read, starting from the index specified by bytesRead, and increments bytesRead by the number of bytes read.