SimpleStreamSerializerT.readData

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

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

Parameters

input InputStream

stream to read from

data void*

pointer to data buffer

bytes size_t

length of data in bytes

Return Value

Type: size_t

number of bytes transmitted

Throws

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

Meta