Discussion Forums

OpenFAST for Java encodes integer values erroneous
Zoltan Vekony
2 Aug 2010 8:46AM ET

Hi all,

I'm using the Version 1.0.0 of the OpenFAST Java library (loaded from sourceforge.net). I think, there is an error while encoding unsigned integer values like 16384 [2 ^ (n*7)]. The function IntegerCodec.getUnsignedIntegerSize() returns 2 bytes for the length of the encoded value of 16384, but we need 3 bytes (00000001 00000000 1000000 or in hex 01 00 80) to encode this value.

Is there a newer Version of the library working correctly or can anyone correct the sources at sourceforge.net?

Thanks
Zoltan