Skip to content

Tag Archives: Java-NIO package

The reset() method of java.nio.ShortBuffer Class is used to reset this buffer’s position to the previously-marked position. The mark’s value remain unchanged during this process.… Read More
The flip() method of java.nio.LongBuffer Class is used to flip this buffer. By flipping this buffer, it meant that the buffer will be trimmed to… Read More
The mark() method of java.nio.ShortBuffer Class is used to mark the current position of this ShortBuffer as the mark of this buffer. Syntax: public ShortBuffer… Read More
The mark() method of java.nio.LongBuffer Class is used to mark the current position of this LongBuffer as the mark of this buffer. Syntax: public LongBuffer… Read More
The reset() method of java.nio.LongBuffer Class is used to reset this buffer’s position to the previously-marked position. The mark’s value remain unchanged during this process.… Read More
The rewind() method of java.nio.ShortBuffer Class is used to rewind this buffer. By rewinding this Buffer, the following actions are taken: Current position is set… Read More
The flip() method of java.nio.FloatBuffer Class is used to flip this buffer. By flipping this buffer, it meant that the buffer will be trimmed to… Read More
The clear() method of java.nio.ShortBuffer Class is used to clear this buffer. While clearing this buffer following changes are done: the current position is set… Read More
The flip() method of java.nio.ShortBuffer Class is used to flip this buffer. By flipping this buffer, it meant that the buffer will be trimmed to… Read More
The rewind() method of java.nio.IntBuffer Class is used to rewind this buffer. The position is set to zero and the mark is discarded. Invoke this… Read More
The reset() method of java.nio.IntBuffer Class is used to reset this buffer’s position to the previously-marked position. Invoking this method neither changes nor discards the… Read More
The mark() method of java.nio.IntBuffer Class is used to mark the current position of this IntBuffer as the mark of this buffer. Syntax: public final… Read More
The limit() method of java.nio.IntBuffer Class is used to modify this IntBuffer’s limit. This method takes the limit to be set as the parameter and… Read More
The flip() method of java.nio.IntBuffer Class is used to flip this buffer. By flipping this buffer, it meant that the buffer will be trimmed to… Read More
The limit() method of java.nio.LongBuffer Class is used to modify this LongBuffer’s limit. This method takes the limit to be set as the parameter and… Read More