question: public static final ByteBuffer bufferToByteBuffer ( final byte [ ] buffer , final ByteOrder order ) { final ByteBuffer retBuff = ByteBuffer . wrap ( buffer ) ; retBuff . order ( order ) ; return retBuff ; }
target:  Converts a Buffer to a ByteBuffer.