This differs from this.value in that
this.value only returns the value octets, whereas
this.toBytes returns the type tag, length tag / octets,
and the value octets, all concatenated.
This is the exact same as this.opCast!(ubyte[])().
classCanonicalEncodingRulesElement
@property @system nothrow const
ubyte[]
toBytes
()
Return Value
Type: ubyte[]
type tag, length tag, and value, all concatenated as a ubyte array.
This differs from this.value in that this.value only returns the value octets, whereas this.toBytes returns the type tag, length tag / octets, and the value octets, all concatenated.
This is the exact same as this.opCast!(ubyte[])().