mirror of
https://github.com/jwetzell/psn-js.git
synced 2026-08-13 11:23:56 +00:00
replace NodeJS buffer with Uint8Array
This commit is contained in:
@@ -61,7 +61,7 @@ export class Tracker {
|
||||
}
|
||||
|
||||
getDataChunk() {
|
||||
const fieldChunks: Buffer[] = [];
|
||||
const fieldChunks: Uint8Array[] = [];
|
||||
|
||||
if (this.pos) {
|
||||
fieldChunks.push(dataTrackerPosChunk(...this.pos));
|
||||
|
||||
Reference in New Issue
Block a user