Reference
NodeBuffer
Signature
interface NodeBufferMembers
[toStringTag]: "Uint8Array"buffer: ArrayBufferLikebyteLength: numberbyteOffset: numberBYTES_PER_ELEMENT: numberlength: numberfunction [iterator](): ArrayIterator<number>function at(index: number): number | undefinedfunction copy(target: NodeBuffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): numberfunction copyWithin(target: number, start: number, end?: number): thisfunction entries(): ArrayIterator<[number, number]>function every(predicate: (value: number, index: number, array: this): unknown, thisArg?: any): booleanfunction fill(value: number, start?: number, end?: number): thisfunction filter(predicate: (value: number, index: number, array: this): any, thisArg?: any): Uint8Array<ArrayBuffer>function find(predicate: (value: number, index: number, obj: this): boolean, thisArg?: any): number | undefinedfunction findIndex(predicate: (value: number, index: number, obj: this): boolean, thisArg?: any): numberfunction forEach(callbackfn: (value: number, index: number, array: this): void, thisArg?: any): voidfunction includes(searchElement: number, fromIndex?: number): booleanfunction indexOf(searchElement: number, fromIndex?: number): numberfunction join(separator?: string): stringfunction keys(): ArrayIterator<number>function lastIndexOf(searchElement: number, fromIndex?: number): numberfunction map(callbackfn: (value: number, index: number, array: this): number, thisArg?: any): Uint8Array<ArrayBuffer>function reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this): number): number
function reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this): number, initialValue: number): number
function reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this): U, initialValue: U): Ufunction reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this): number): number
function reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this): number, initialValue: number): number
function reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this): U, initialValue: U): Ufunction reverse(): thisfunction set(array: ArrayLike<number>, offset?: number): voidfunction slice(start?: number, end?: number): Uint8Array<ArrayBuffer>function some(predicate: (value: number, index: number, array: this): unknown, thisArg?: any): booleanfunction sort(compareFn?: (a: number, b: number): number): thisfunction subarray(start?: number, end?: number): NodeBufferfunction toLocaleString(): string
function toLocaleString(locales: string | string[], options?: NumberFormatOptions): stringfunction toString(encoding?: string, start?: number, end?: number): stringfunction valueOf(): thisfunction values(): ArrayIterator<number>function write(input: string, offset: number, encoding?: string): number