- __promisify__<TBuffer>(fd: number, buffer: TBuffer, offset: number, length: number, position: null | number): Promise<{
buffer: TBuffer;
bytesRead: number;
}>
-
Parameters
-
fd: number
-
buffer: TBuffer
-
offset: number
-
length: number
-
position: null | number
Returns Promise<{
buffer: TBuffer;
bytesRead: number;
}>
- __promisify__<TBuffer>(fd: number, options: ReadAsyncOptions<TBuffer>): Promise<{
buffer: TBuffer;
bytesRead: number;
}>
-
Returns Promise<{
buffer: TBuffer;
bytesRead: number;
}>
- __promisify__(fd: number): Promise<{
buffer: ArrayBufferView;
bytesRead: number;
}>
-
Returns Promise<{
buffer: ArrayBufferView;
bytesRead: number;
}>
A file descriptor.