During the development of our ForCES CE in Java for our Open Distributed Network Element project, it was necessary to create unsigned types since Java do not inherently support them.

Using code written by Sean Owens at his Java And Unsigned Types website, we created a set of classes that may be easily used to handle unsigned types. You can download and use a Using code written by Sean Owens at his pre-compiled jar, a zip of the source, and a zip of the API docs used to read and write unsigned types and also to be sent on the wire.

Included are the following unsigned types:

  • Unsigned Byte
  • Unsigned Short
  • Unsigned Integer

Unfortunately currently there is no support for an unsigned long.

For more information or questions contact us at: ehalep [at] ce.upatras.gr