Files
reverse-engineering-anything/tests/fixtures/zstandardByteFrame.ts
T

3 lines
132 B
TypeScript

export const zstdByteFrame = (byte: number): Buffer =>
Buffer.from([0x28, 0xb5, 0x2f, 0xfd, 0x20, 0x01, 0x09, 0x00, 0x00, byte]);