Open 3D Engine AzCore API Reference 26.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Dom::Json::NullDelimitedStringStream Struct Reference

#include <JsonSerializationUtils.h>

Public Types

using Ch = char
 

Public Member Functions

AZ_FORCE_INLINE NullDelimitedStringStream (char *buffer)
 
AZ_FORCE_INLINE NullDelimitedStringStream (AZStd::string_view buffer)
 
AZ_FORCE_INLINE char Peek () const
 
AZ_FORCE_INLINE char Take ()
 
AZ_FORCE_INLINE size_t Tell () const
 
AZ_FORCE_INLINE charPutBegin ()
 
AZ_FORCE_INLINE void Put (char c)
 
AZ_FORCE_INLINE void Flush ()
 
AZ_FORCE_INLINE size_t PutEnd (char *begin)
 
AZ_FORCE_INLINE const charPeek4 () const
 

Public Attributes

charm_cursor
 Current read position.
 
charm_write
 Current write position.
 
const charm_begin
 Head of string.
 

Detailed Description

rapidjson stream wrapper for AZStd::string suitable for in-situ parsing Faster than rapidjson::MemoryStream for reading from AZStd::string / AZStd::string_view (because it requires a null terminator)

Note
This needs to be inlined for performance reasons.

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