DSerial.read

Reads data into the bytes array. Blocks until at least one char has been read.

  1. ulong read(ubyte data)
  2. ulong read(ubyte[] data)
  3. ulong read(ubyte* data, ulong length)
    class DSerial
    ulong
    read
    (
    ubyte* data
    ,
    ulong length
    )

Return Value

Type: ulong

positive number of bytes read throws exception upon error

Meta