Is it possible to convert strongly-typed data to bytes using the ByteBuffer class? If not, what is its main purpose? If yes, I am looking at its documentation and can find nothing. The put methods require a byte and not an int fro example.
Is it possible to convert strongly-typed data to bytes using the ByteBuffer class? If
Share
Erm, you mean like …
EDIT: For an
intyou can do…