List of utility methods to do FloatBuffer to ByteBuffer Convert
ByteBuffer | copyFloatBufferAsByteBuffer( FloatBuffer paramFloatBuffer) copy Float Buffer As Byte Buffer ByteBuffer localByteBuffer = newByteBuffer(paramFloatBuffer
.remaining() * 4);
paramFloatBuffer.mark();
localByteBuffer.asFloatBuffer().put(paramFloatBuffer);
paramFloatBuffer.reset();
localByteBuffer.rewind();
return localByteBuffer;
|