|
spudplate
Template scaffolding compiler for spudlang .spud files
|
Raised when the byte stream cannot be decoded. More...
#include <binary_serializer.h>
Public Member Functions | |
| BinaryDeserializeError (std::string message, std::size_t offset) | |
| Construct with a message and the byte offset where decoding failed. | |
| std::size_t | offset () const noexcept |
| Byte offset within the decoded buffer where the failure occurred. | |
Raised when the byte stream cannot be decoded.
Carries the byte offset at which decoding gave up so a hex-dumped payload can be inspected at the right location.