Bill Roper (billroper) wrote,
Bill Roper

Coding Away

I'm working on bringing the formula processor up in Java right now. This requires interpreting a byte array as a variety of different kinds of values, while keeping track of whether the byte array contains values in big endian or little endian order. ByteBuffer would seem like a fine choice, but it doesn't automatically expand as I write to it, nor does it retrieve all of the types of values that I'd like to store in the array.

Apparently, someone working on the Apache MINA project had the same warm thoughts about ByteBuffer and rolled their own extension, IoBuffer, which appears to do all of the things that I'd like it to do.

This makes me happy. :)
Tags: computers, java, musings, work

  • Tired

    I hit the wall late this afternoon. Sleep will follow soon now, but I needed to finish going through the APBA cards for next season. In other news,…

  • It Floats!

    I was discussing some of the intricacies of floating point mathematics with Gretchen over lunch today, which eventually led to her saying, "'Field of…

  • The Map of Tiny Perfect Things

    Last night, Gretchen and I watched "The Map of Tiny Perfect Things" on Amazon Prime. We liked it a lot. It owes (and acknowledges) a substantial debt…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded