Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Serialization::MemoryInputStream Struct Reference

#include <Serialization.h>

Inheritance diagram for Serialization::MemoryInputStream:
Collaboration diagram for Serialization::MemoryInputStream:

Public Member Functions

 MemoryInputStream (const U8 *begin, Uptr numBytes)
 
virtual Uptr capacity () const
 
- Public Member Functions inherited from Serialization::InputStream
 InputStream (const U8 *inNext, const U8 *inEnd)
 
const U8advance (Uptr numBytes)
 
const U8peek (Uptr numBytes)
 

Additional Inherited Members

- Public Types inherited from Serialization::InputStream
enum  { isInput = true }
 
- Protected Member Functions inherited from Serialization::InputStream
- Protected Attributes inherited from Serialization::InputStream
const U8next
 
const U8end
 

Detailed Description

Definition at line 124 of file Serialization.h.

Constructor & Destructor Documentation

◆ MemoryInputStream()

Serialization::MemoryInputStream::MemoryInputStream ( const U8 * begin,
Uptr numBytes )
inline

Definition at line 126 of file Serialization.h.

126: InputStream(begin,begin+numBytes) {}
InputStream(const U8 *inNext, const U8 *inEnd)

Member Function Documentation

◆ capacity()

virtual Uptr Serialization::MemoryInputStream::capacity ( ) const
inlinevirtual

Implements Serialization::InputStream.

Definition at line 127 of file Serialization.h.

127{ return end - next; }
Here is the caller graph for this function:

The documentation for this struct was generated from the following file: