Re: Java.. cant move an Enum to a ByteBuffer

Thanks t149...

What I am doing is very similar to serialiation.

Am writing an ISAM type record handler, and need to pack records into datapages. This is just a general case which naturally used enums. Simply solved/avoided by replacing enums with "static Byte P0=1; ..."

I talk to the ISAM record handler using sockets and serialization. I dont really want to impose a reader/writer overhead on simply moving records around and ByteBuffer gives me most of the functionality I want, maybe at 50% the efficiency of using C. Still way more efficient than RDMS systems.