On Nov 25, 2007, at 9:28 AM, Ben Hood wrote:

Hi,

I was looking at the map example in the 2.0 specification:
map = new HashMap();
map.put(new Integer(1), "fee");
map.put(new Integer(16), "fie");
map.put(new Integer(256), "foe");
---
M
x91
x03 fee
xa0
x03 fie
xb9 x00
x03 foe
z

Is the encoding of the last key correct (256 -> xb9 x00)?

Shouldn't 256 be encoded as xc9 x00?

Correct, thanks.

-- Scott

Thx,

Ben
_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to