Stream.read

Reads the specified amount out to the buffer

Returns the amount read, -1 if at end of stream

  1. int read(ubyte[] buffer)
  2. int read(size_t amount, ubyte[] buffer)
    class Stream
    abstract
    int
    read
    (
    size_t amount
    ,
    ref ubyte[] buffer
    )

Meta