Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Java
10.4k+ articles
Java-Functions
4.1k+ articles
Java - util package
1.5k+ articles
Java-ByteBuffer
45 articles
Java-CharBuffer
28 articles
Java-ShortBuffer
22 articles
Java-DoubleBuffer
21 articles
Java-FloatBuffer
20 articles
Java-IntBuffer
20 articles
Java-Buffer
17 articles
Java-NIO package
220+ posts
Popular Articles
Recent Articles
Non Blocking Server in Java NIO
Last Updated: 09 May 2022
Java NIO(New Input/Output) is high-performance networking and file handling API and structure which works as an alternative IO API for Java.
...read more
Java
Picked
Java-NIO package
How to Create a Non-Blocking Server in Java?
Last Updated: 09 May 2022
A Non-Blocking server means that it is able to have multiple requests in progress at the same time by the same process or thread because it
...read more
Java
Picked
Java-NIO package
java.nio.CharBuffer Class in Java
Last Updated: 29 March 2021
CharBuffer holds a sequence of integer values to be used in an I/O operation. The CharBuffer class provides the following four categories of
...read more
Java
Picked
Java-CharBuffer
Java-NIO package
Similar Topics
Java
10.4k+ articles
Java-Functions
4.1k+ articles
Java - util package
1.5k+ articles
Java-ByteBuffer
45+ articles
Java-CharBuffer
28+ articles
Java-ShortBuffer
22+ articles
Java-DoubleBuffer
21+ articles
Java-FloatBuffer
20+ articles
Java-IntBuffer
20+ articles
Java-Buffer
17+ articles
CharBuffer chars() methods in Java with Examples
Last Updated: 19 January 2023
The chars() method of java.nio.CharBuffer Class is used to return a stream of int zero-extending the char values from this sequence. Any cha
...read more
Java
Java-Functions
Java-CharBuffer
Java-NIO package
Buffer flip() methods in Java with Examples
Last Updated: 18 July 2019
The flip() method of java.nio.ByteBuffer Class is used to flip this buffer. The limit is set to the current position and then the position i
...read more
Java
Java-Functions
Java-NIO package
Java-Buffer
ByteBuffer rewind() methods in Java with Examples
Last Updated: 16 July 2019
The rewind() method of java.nio.ByteBuffer Class is used to rewind this buffer. The position is set to zero and the mark is discarded. Invok
...read more
Java
Java-Functions
Java-NIO package
Java-ByteBuffer
Buffer array() methods in Java with Examples
Last Updated: 28 June 2019
The array() method of java.nio.Buffer class is used to return the array that backs the taken buffer.This method is intended to allow array-b
...read more
Java
Java-Functions
Java-NIO package
Java-Buffer
ByteBuffer flip() methods in Java with Examples
Last Updated: 27 June 2019
The flip() method of java.nio.ByteBuffer Class is used to flip this buffer. The limit is set to the current position and then the position i
...read more
Java
Java-Functions
Java-NIO package
Java-ByteBuffer
ByteBuffer clear() methods in Java with Examples
Last Updated: 27 June 2019
The clear() method of java.nio.ByteBuffer Class is used to clear this buffer. The position is set to zero, the limit is set to the capacity,
...read more
Java
Java-Functions
Java-NIO package
Java-ByteBuffer
ByteBuffer position() methods in Java with Examples
Last Updated: 27 June 2019
The position(int newPosition) method of java.nio.ByteBuffer Class is used to Sets this buffer's position. If the mark is defined and larger
...read more
Java
Java-Functions
Java-NIO package
Java-ByteBuffer
ByteBuffer toString() method in Java with Examples
Last Updated: 06 August 2021
The toString() method of ByteBuffer class is the inbuilt method used to returns a string representing the data contained by ByteBuffer Objec
...read more
Java
Java-Functions
Java-NIO package
Java-ByteBuffer
ByteBuffer putInt() methods in Java with Examples
Last Updated: 19 January 2023
putInt(int value)The putInt(int value) method of java.nio.ByteBuffer Class is used to write four bytes containing the given int value, in th
...read more
Java
Java-Functions
Java-NIO package
Java-ByteBuffer
ByteBuffer getShort() method in Java with Examples
Last Updated: 17 June 2019
getShort()The getShort() method of java.nio.ByteBuffer class is used to read the next two bytes at this buffer's current position, composing
...read more
Java
Java-Functions
Java-NIO package
Java-ByteBuffer
ByteBuffer order() method in Java with Examples
Last Updated: 17 June 2019
order()The order() method of java.nio.ByteBuffer class is used to retrieve this buffer's byte order. The byte order is used when reading or
...read more
Java
Java-Functions
Java-NIO package
Java-ByteBuffer
Charset defaultCharset() method in Java with Examples
Last Updated: 29 March 2019
The defaultCharset() method is a built-in method of the java.nio.charset which returns the charset object for the default charset. The defau
...read more
Java
Java-Functions
Java-NIO package
Java-Charset
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !