Type alias WriteCallback<B>

WriteCallback<B>: ((err, bytesWritten?, buffer?) => void)

Type Parameters

  • B = NodeJS.ArrayBufferView

Type declaration

    • (err, bytesWritten?, buffer?): void
    • Get results of write().

      Parameters

      • err: NodeJS.ErrnoException

        write error

      • Optional bytesWritten: number

        number of bytes written

      • Optional buffer: B

        input buffer

      Returns void

Generated using TypeDoc