In MicroHessianOutput.writeBytes(byte[] buffer, int offset, int length)
 
The length is set incorrectly, currently it is set by....
 
      os.write(length << 8);
      os.write(length);
 
 
it should be..
 
      os.write(length >> 8);
      os.write(length);
 
 
 
Some basic unit tests would show this up using a PipedInputStream and
PipedOutputStream.
 
I checked HessianOutput and Hessian2Output and they look fine.
 
 
Best Regards
Paul French
www.kirona.com
mobile: 07803 122 058
 
_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to