FileReadChannel.read

Read at most s bytes from the channel.

Note that this is slow because the data is copied to keep the interface memory safe. Prefer the one that takes a buffer

  1. const(ubyte)[] read(size_t size)
    struct FileReadChannel
    return scope @safe
    const(ubyte)[]
    read
    (
    const size_t size
    )
  2. ubyte[] read(ubyte[] buf)

Meta