Dia antes primera install
This commit is contained in:
18
node_modules/@serialport/bindings-cpp/dist/unix-read.d.ts
generated
vendored
Normal file
18
node_modules/@serialport/bindings-cpp/dist/unix-read.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
import { read as fsRead } from 'fs';
|
||||
import { LinuxPortBinding } from './linux';
|
||||
import { DarwinPortBinding } from './darwin';
|
||||
declare const readAsync: typeof fsRead.__promisify__;
|
||||
interface UnixReadOptions {
|
||||
binding: LinuxPortBinding | DarwinPortBinding;
|
||||
buffer: Buffer;
|
||||
offset: number;
|
||||
length: number;
|
||||
fsReadAsync?: typeof readAsync;
|
||||
}
|
||||
export declare const unixRead: ({ binding, buffer, offset, length, fsReadAsync, }: UnixReadOptions) => Promise<{
|
||||
buffer: Buffer;
|
||||
bytesRead: number;
|
||||
}>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user