|
Bond 0.9
C++ Bond Runtime Library API Documentation
|
A validator for Bond CBO bytecode streams. More...
#include <bond/tools/cbovalidator.h>
Classes | |
| struct | Result |
| Summary information produced during CBO validation. More... | |
Public Member Functions | |
| Result | Validate (const void *byteCode, size_t length) |
| Validates CBO data from an in-memory byte buffer. | |
| Result | Validate (InputStream &stream) |
| Validates CBO data from an input stream. | |
A validator for Bond CBO bytecode streams.
The CboValidator verifies the structure of serialized CBO data and reports summary information about the validated contents.
| Result Bond::CboValidator::Validate | ( | const void * | byteCode, |
| size_t | length ) |
Validates CBO data from an in-memory byte buffer.
| byteCode | Pointer to the beginning of the byte buffer. |
| length | The number of bytes in the buffer. |
| Result Bond::CboValidator::Validate | ( | InputStream & | stream | ) |
Validates CBO data from an input stream.
| stream | Input stream containing CBO data. |