PaulMWatt / Alchemy

A framework to robustly process network messages and structured data
http://codeofthedamned.com/index.php/alchemy
Other
17 stars 2 forks source link

Create an Opaque Type #23

Closed PaulMWatt closed 9 years ago

PaulMWatt commented 10 years ago

An Opaque type will be capable of handling a sequence of bytes that is not known at compile-time, but will be determined and decided at run-time when the buffer is being read into the message.

Once it is read in, it will be well defined and the Hg constructs can programmatically process the data through it's definition.

PaulMWatt commented 9 years ago

This feature now exists in the form of a msg_view object. It maps a reference buffer to a message object, and provides an iterator to access arbitrary data.