K
Ken
Hi.
I need to create a message that contains several fields of various
data types. Each field needs to be aligned on a particular bit
boundary inside the message. IOW, an integer field may need to be
from bit 0 to bit 31, then a char field may need to be from bit 32 to
bit 39, etc. I'm fairly new to Java, but I'm thinking the solution has
something to do with Buffers and/or ByteBuffers in the NIO API.
Any guidance as to where to look--and if I'm on the right track--would
be greatly appreciated.
Thanks!
Ken
I need to create a message that contains several fields of various
data types. Each field needs to be aligned on a particular bit
boundary inside the message. IOW, an integer field may need to be
from bit 0 to bit 31, then a char field may need to be from bit 32 to
bit 39, etc. I'm fairly new to Java, but I'm thinking the solution has
something to do with Buffers and/or ByteBuffers in the NIO API.
Any guidance as to where to look--and if I'm on the right track--would
be greatly appreciated.
Thanks!
Ken