mirror of
https://github.com/jwetzell/psn-js.git
synced 2026-09-01 04:19:19 +00:00
replace NodeJS buffer with Uint8Array
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import chunk from '../chunk';
|
||||
|
||||
export default (trackerId: number, trackerNameChunk: Buffer): Buffer => chunk(trackerId, trackerNameChunk, true);
|
||||
export default (trackerId: number, trackerNameChunk: Uint8Array): Uint8Array =>
|
||||
chunk(trackerId, trackerNameChunk, true);
|
||||
|
||||
Reference in New Issue
Block a user