Pre-Authentication Encoding (PAE).
Encodes multiple byte-string pieces into a single unambiguous byte string by prefixing each piece with its LE64 length and the count.
Byte arrays to encode.
The PAE-encoded byte array.
const encoded = pae(new Uint8Array([1]), new Uint8Array([2, 3])); Copy
const encoded = pae(new Uint8Array([1]), new Uint8Array([2, 3]));
Pre-Authentication Encoding (PAE).
Encodes multiple byte-string pieces into a single unambiguous byte string by prefixing each piece with its LE64 length and the count.