read method

void read(
  1. int fd,
  2. dynamic buffer,
  3. int offset,
  4. int length,
  5. int position,
  6. void callback(
    1. dynamic error,
    2. int bytesRead,
    3. Buffer buffer
    ),
)

Implementation

external void read(int fd, buffer, int offset, int length, int position,
    void Function(dynamic error, int bytesRead, Buffer buffer) callback);