Zero-copy ASN.1 <=> DER encoding for the web
npm install @hazae41/asn1
``bash`
npm i @hazae41/asn1
`typescript
import { DER } from "@hazae41/asn1"
const input = new Uint8Array([0x01, 0x01, 0xFF])
const triplet = DER.tryFromBytes(input).unwrap() // Boolean
console.log(triplet.toString()) // "BOOLEAN true"
const output = DER.tryToBytes(triplet).unwrap() // Uint8Array([0x01, 0x01, 0xFF])
``