OpenHFT/Java-Lang — pull request #5 by arosenberger (2013-10-07 01:58:23+00:00)
Title: First pass at direct marshalling of objects comprised solely of primitiv...

...es.

Peter - I wasn't sure how to get at anything in the generic Bytes interface that would let me use Unsafe to copy the memory block directly. E.g. since the serialization metadata contains the start and number of bytes to copy, use Unsafe.copyMemory(tObject, start, , , length); instead of writing chunks of longs and then finally individual bytes up until the tObject's length.