SimpleStreamSerializerT.readData

Reads data from input, populating the data buffer to its entirety.

  1. size_t readData(InputStream input, void* data, size_t bytes)
  2. size_t readData(InputStream input, void[] data)
    struct SimpleStreamSerializerT(bool SerializeDynArrays = true)
    static
    size_t
    readData

Parameters

input InputStream

stream to read from

data void[]

data buffer

Return Value

Type: size_t

number of bytes transmitted

Throws

EofException on End Of Flow condition (note that the exception is always newed)

Meta