CharBuffer is an abstract class of the java.nio package. CharBuffer is the buffer for characters. CharBuffer object is created by calling allocate(). We need to pass the capacity of CharBuffer to allocate method.
CharBuffer chbuff = CharBuffer.allocate(1024);
Read full article from Example of CharBuffer in Java
No comments:
Post a Comment