OpenCPN Partial API docs
Loading...
Searching...
No Matches
byte_union Union Reference

Read a memory buffer type. More...

Public Attributes

unsigned char cu [2]
 
short int bu
 

Detailed Description

Read a memory buffer type.

This function is called by DoRead() when the single-quote character is encontered which starts a memory buffer type. This type is a wxJSON extension so the function emits a warning when such a type encontered. If the reader is constructed without the wxJSONREADER_MEMORYBUFF flag then the warning becomes an error. To know more about this JSON syntax extension read wxjson_tutorial_memorybuff

Parameters
isthe input stream
valthe JSON value that will hold the memory buffer value
Returns
the last char read or -1 in case of EOF

Definition at line 1787 of file jsonreader.cpp.

Member Data Documentation

◆ bu

short int byte_union::bu

Definition at line 1789 of file jsonreader.cpp.

◆ cu

unsigned char byte_union::cu[2]

Definition at line 1788 of file jsonreader.cpp.


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