Paul W. Cowan wrote:
> We're evaluating Hessian for use on embedded devices that connect over
> wireless modems. Each message we pass contains multiple elements who's
> value is a single character or number less than 255. We're curious as
> to why there is no byte or char or short primitive types, when the idea
> is to be a compact binary protocol. It may seem insignificant, but the
> extra overhead of 3 or 4 bytes for each int or binary format value
> becomes significant in volume.
The binary type should be useful in your application.
binary ::= (b 16 b8 binary-data)* B b16 b8 binary-data
Thomas Wang
Received on Fri 16 Jun 2006 15:32:40 -0700
This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:41 PDT