In this tutorial, we will see how to rewind float buffer in java.
In this example, The rewind method reset the position of buffer at zero.
So you can again
read the buffer.
import java.nio.*;
|
| C:\r>java RewindFloatBuffer Data in float buffer. 4.8 3.9 5.6 After rewind method data in float buffer. 4.8 3.9 5.6 |