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

#include <Serialization.h>

Inheritance diagram for Serialization::ArrayOutputStream:
Collaboration diagram for Serialization::ArrayOutputStream:

Public Member Functions

std::vector< U8 > && getBytes ()
 
- Public Member Functions inherited from Serialization::OutputStream
 OutputStream ()
 
Uptr capacity () const
 
U8advance (Uptr numBytes)
 

Additional Inherited Members

- Public Types inherited from Serialization::OutputStream
enum  { isInput = false }
 
- Protected Member Functions inherited from Serialization::OutputStream
- Protected Attributes inherited from Serialization::OutputStream
U8next
 
U8end
 

Detailed Description

Definition at line 58 of file Serialization.h.

Member Function Documentation

◆ getBytes()

std::vector< U8 > && Serialization::ArrayOutputStream::getBytes ( )
inline

Definition at line 61 of file Serialization.h.

62 {
63 bytes.resize(next - bytes.data());
64 next = nullptr;
65 end = nullptr;
66 return std::move(bytes);
67 }
Here is the caller graph for this function:

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