Hi,
I have a question about the serialization spec:
"Doubles between -128.0 and 127.0 with no fractional component can be
represented in two octets by casting the byte value to a double", i.e.
x69 x00 # 0.0
x69 x80 # -128.0
x69 xff # 127.0
What's confusing is that 0.0 -> 127.0 can be represented as x00 thru
x7f. You wrap around on x80 making the series -128 -> -1.0 represented
by x80 thru xff.
This is also how the Hessian2Output class works in the Java Hessian
library version 3.1.3?
My question is: should xff map to -1.0 rather than 127.0 as indicated
in the spec?
Thx,
Ben
_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest