commit
This commit is contained in:
parent
a15c733e45
commit
2a5130cbda
2838 changed files with 288613 additions and 0 deletions
26
node_modules/strtok3/lib/BufferTokenizer.d.ts
generated
vendored
Normal file
26
node_modules/strtok3/lib/BufferTokenizer.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
import { IFileInfo, IReadChunkOptions } from './types.js';
|
||||
import { AbstractTokenizer } from './AbstractTokenizer.js';
|
||||
export declare class BufferTokenizer extends AbstractTokenizer {
|
||||
private uint8Array;
|
||||
/**
|
||||
* Construct BufferTokenizer
|
||||
* @param uint8Array - Uint8Array to tokenize
|
||||
* @param fileInfo - Pass additional file information to the tokenizer
|
||||
*/
|
||||
constructor(uint8Array: Uint8Array, fileInfo?: IFileInfo);
|
||||
/**
|
||||
* Read buffer from tokenizer
|
||||
* @param uint8Array - Uint8Array to tokenize
|
||||
* @param options - Read behaviour options
|
||||
* @returns {Promise<number>}
|
||||
*/
|
||||
readBuffer(uint8Array: Uint8Array, options?: IReadChunkOptions): Promise<number>;
|
||||
/**
|
||||
* Peek (read ahead) buffer from tokenizer
|
||||
* @param uint8Array
|
||||
* @param options - Read behaviour options
|
||||
* @returns {Promise<number>}
|
||||
*/
|
||||
peekBuffer(uint8Array: Uint8Array, options?: IReadChunkOptions): Promise<number>;
|
||||
close(): Promise<void>;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue