Tabnine Logo
IoBuffer.putChar
Code IndexAdd Tabnine to your IDE (free)

How to use
putChar
method
in
org.apache.mina.codec.IoBuffer

Best Java code snippets using org.apache.mina.codec.IoBuffer.putChar (Showing top 3 results out of 315)

origin: apache/mina

/**
 * @see ByteBuffer#putChar(char)
 */
public IoBuffer putChar(char value) {
  return putChar(position, value);
}
origin: apache/mina

/**
 * @see ByteBuffer#putChar(int, char)
 */
public IoBuffer putChar(int index, char value) {
  return putChar(getPointerByPosition(index), value);
}
origin: apache/mina

ioBuffer.position(2);
assertEquals(4, ioBuffer.capacity());
ioBuffer.putChar('\u00FC');
ioBuffer.rewind();
ioBuffer.rewind();
ioBuffer.putChar(1, '\u00E7');
assertEquals('\u00E7', ioBuffer.getChar(1));
  ioBuffer.putChar(3, '\u00F1');
  fail("Not enough place on the buffer");
} catch (BufferUnderflowException e) {
org.apache.mina.codecIoBufferputChar

Popular methods of IoBuffer

  • asInputStream
    Provides an input stream which is actually reading the IoBufferinstance. Further reads on the return
  • get
  • remaining
  • add
    Add one or more ByteBuffer to the current IoBuffer
  • array
  • capacity
  • getChar
  • getDouble
  • getFloat
  • getInt
  • getLong
  • getShort
  • getLong,
  • getShort,
  • hasRemaining,
  • isDirect,
  • limit,
  • order,
  • position,
  • put,
  • putDouble

Popular in Java

  • Creating JSON documents from java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • JTextField (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now