Maven module :un.api : api-common :
Class : un.api.character.CharBuffer
Extends/Implements : -
Subclasses : -

Used to build larger Character sequence from a stack of sequences.
author  Johann Sorel


Variables : -
Functions : CharBuffer, CharBuffer, reset, isEmpty, append, append, append, append, append, append, append, toChars, toChars, toBytes, toBytes




CharBuffer with default encoding.
public void CharBuffer ()

public void CharBuffer (CharEncoding encoding)

public void reset ()

public boolean isEmpty ()

public CharBuffer append (int unicode)

public CharBuffer append (CharArray candidate)

public CharBuffer append (Chars candidate)

public CharBuffer append (Char candidate)

public CharBuffer append (CObject candidate)


For JVM compatibility, to remove in the futur.
param  candidate string to append
return  this buffer
public CharBuffer append (String candidate)


Append given bytes, expected to be in the given encoding.
param  candidate encoded array to append
return  this buffer
public CharBuffer append (byte[] candidate)

public Chars toChars ()

public Chars toChars (CharEncoding encoding)

public byte[] toBytes ()

public byte[] toBytes (CharEncoding encoding)