Remove buffer dependency

This commit is contained in:
Jack Hadrill
2022-02-22 22:35:55 +00:00
parent 4d7cf1347f
commit 5c17b880cf
19 changed files with 106 additions and 96 deletions

View File

@@ -1,6 +1,6 @@
export const MAX_DATA_LENGTH = 1000
export const DEFAULT_KEY = Buffer.alloc(16)
export const DEFAULT_KEY = new Uint8Array(16)
export enum MessageTypes {
Subscribe = 0x0000,