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 |
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.