Tabnine Logo
VisibleBufferedInputStream.moveBufferTo
Code IndexAdd Tabnine to your IDE (free)

How to use
moveBufferTo
method
in
org.postgresql.core.VisibleBufferedInputStream

Best Java code snippets using org.postgresql.core.VisibleBufferedInputStream.moveBufferTo (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: org.postgresql/postgresql

/**
 * Doubles the size of the buffer.
 */
private void doubleBuffer() {
 byte[] buf = new byte[buffer.length * 2];
 moveBufferTo(buf);
 buffer = buf;
}
origin: postgresql/postgresql

/**
 * Doubles the size of the buffer.
 */
private void doubleBuffer() {
  byte[] buf = new byte[buffer.length * 2];
  moveBufferTo(buf);
  buffer = buf;
}
origin: org.postgresql/postgresql

/**
 * Compacts the unread bytes of the buffer to the beginning of the buffer.
 */
private void compact() {
 moveBufferTo(buffer);
}
origin: postgresql/postgresql

/**
 * Compacts the unread bytes of the buffer to the beginning of the buffer.
 */
private void compact() {
  moveBufferTo(buffer);
}
origin: org.ancoron.postgresql/org.postgresql

/**
 * Doubles the size of the buffer.
 */
private void doubleBuffer() {
  byte[] buf = new byte[buffer.length * 2];
  moveBufferTo(buf);
  buffer = buf;
}
origin: org.ancoron.postgresql/org.postgresql

/**
 * Compacts the unread bytes of the buffer to the beginning of the buffer.
 */
private void compact() {
  moveBufferTo(buffer);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

/**
 * Doubles the size of the buffer.
 */
private void doubleBuffer() {
  byte[] buf = new byte[buffer.length * 2];
  moveBufferTo(buf);
  buffer = buf;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

/**
 * Compacts the unread bytes of the buffer to the beginning of the buffer.
 */
private void compact() {
  moveBufferTo(buffer);
}
org.postgresql.coreVisibleBufferedInputStreammoveBufferTo

Javadoc

Moves bytes from the buffer to the begining of the destination buffer. Also sets the index and endIndex variables.

Popular methods of VisibleBufferedInputStream

  • <init>
    Creates a new buffer around the given stream.
  • available
  • close
  • compact
    Compacts the unread bytes of the buffer to the beginning of the buffer.
  • doubleBuffer
    Doubles the size of the buffer.
  • ensureBytes
    Ensures that the buffer contains at least n bytes. This method invalidates the buffer and index fiel
  • getBuffer
    Returns direct handle to the used buffer. Use the #ensureBytesto prefill required bytes the buffer a
  • getIndex
    Returns the current read position in the buffer.
  • read
  • readMore
    Reads more bytes into the buffer.
  • scanCStringLength
    Scans the length of the next null terminated string (C-style string) from the stream.
  • skip
  • scanCStringLength,
  • skip,
  • peek

Popular in Java

  • Start an intent from android
  • setScale (BigDecimal)
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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