Wrapper that overrides the GetParams() function of a stream.
Synopsis
Declared in <serialize.h>
template<
typename SubStream,
typename Params>
class ParamsStream;
Member Functions
Name |
Description |
|
Constructors |
Get reference to stream parameters. |
|
|
|
Return whether the underlying stream is empty. |
|
Skip the given number of bytes in the underlying stream. |
|
Unserialize an object through this stream. |
|
Read bytes from the underlying stream. |
|
Return the number of bytes available in the underlying stream. |
|
Write bytes to the underlying stream. |
|
Serialize an object through this stream. |
Deduction Guides
Name |
Description |
Explicit template deduction guide is required for single‐parameter constructor so Substream&& is treated as a forwarding reference, and SubStream is deduced as reference type for lvalue arguments. |
|
Template deduction guide for multiple params arguments that creates a nested ParamsStream. |
Created with MrDocs