@hazae41/x509
Version:
Zero-copy X.509 certificates in pure modern TypeScript
1 lines • 469 B
Source Map (JSON)
{"version":3,"file":"write.cjs","sources":["../../../../src/mods/types/write.ts"],"sourcesContent":["import { DERable } from \"@hazae41/asn1\";\nimport { Writable } from \"@hazae41/binary\";\n\nexport function writeToBytesOrThrow(type: DERable): Uint8Array<ArrayBuffer> {\n return Writable.writeToBytesOrThrow(type.toDER())\n}"],"names":["Writable"],"mappings":";;;;AAGM,SAAU,mBAAmB,CAAC,IAAa,EAAA;IAC/C,OAAOA,eAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;AACnD;;;;"}