SimpleStreamSerializerT.writeData

Writes data to output, consuming the data buffer content to its entirety.

  1. size_t writeData(OutputStream output, void* data, size_t bytes)
    struct SimpleStreamSerializerT(bool SerializeDynArrays = true)
    static
    size_t
    writeData
    (,
    in void* data
    ,
    size_t bytes
    )
  2. size_t writeData(OutputStream output, void[] data)

Parameters

output OutputStream

stream to write to

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