Type alias ReadCallback<B>

ReadCallback<B>: ((err, bytesRead?, buffer?) => void)

Type Parameters

  • B = NodeJS.ArrayBufferView

Type declaration

    • (err, bytesRead?, buffer?): void
    • Get results of read().

      Parameters

      • err: NodeJS.ErrnoException

        read error

      • Optional bytesRead: number

        number of bytes read

      • Optional buffer: B

        output buffer

      Returns void

Generated using TypeDoc