congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
DataUtils.writeVarInt
Code IndexAdd Tabnine to your IDE (free)

How to use
writeVarInt
method
in
org.h2.mvstore.DataUtils

Best Java code snippets using org.h2.mvstore.DataUtils.writeVarInt (Showing top 8 results out of 315)

origin: com.h2database/h2

/**
 * Write a variable size integer.
 *
 * @param x the value
 * @return this
 */
public WriteBuffer putVarInt(int x) {
  DataUtils.writeVarInt(ensureCapacity(5), x);
  return this;
}
origin: com.h2database/h2

  DataUtils.writeVarInt(id, len);
  id.write(buff);
} else {
  DataUtils.writeVarInt(id, len);
  DataUtils.writeVarLong(id, writeBlock(buff));
origin: com.h2database/h2-mvstore

/**
 * Write a variable size integer.
 *
 * @param x the value
 * @return this
 */
public WriteBuffer putVarInt(int x) {
  DataUtils.writeVarInt(ensureCapacity(5), x);
  return this;
}
origin: org.wowtools/h2

/**
 * Write a variable size integer.
 *
 * @param x the value
 * @return this
 */
public WriteBuffer putVarInt(int x) {
  DataUtils.writeVarInt(ensureCapacity(5), x);
  return this;
}
origin: com.eventsourcing/h2

/**
 * Write a variable size integer.
 *
 * @param x the value
 * @return this
 */
public WriteBuffer putVarInt(int x) {
  DataUtils.writeVarInt(ensureCapacity(5), x);
  return this;
}
origin: com.h2database/h2-mvstore

  DataUtils.writeVarInt(id, len);
  id.write(buff);
} else {
  DataUtils.writeVarInt(id, len);
  DataUtils.writeVarLong(id, writeBlock(buff));
origin: org.wowtools/h2

  DataUtils.writeVarInt(id, len);
  id.write(buff);
} else {
  DataUtils.writeVarInt(id, len);
  DataUtils.writeVarLong(id, writeBlock(buff));
origin: com.eventsourcing/h2

  DataUtils.writeVarInt(id, len);
  id.write(buff);
} else {
  DataUtils.writeVarInt(id, len);
  DataUtils.writeVarLong(id, writeBlock(buff));
org.h2.mvstoreDataUtilswriteVarInt

Javadoc

Write a variable size int.

Popular methods of DataUtils

  • readVarInt
    Read a variable size int.
  • appendMap
    Append a map to the string builder, sorted by key.
  • checkArgument
    Throw an IllegalArgumentException if the argument is invalid.
  • copyExcept
    Copy the elements of an array, and remove one element.
  • copyWithGap
    Copy the elements of an array, with a gap.
  • encodeLength
    Convert the length to a length code 0..31. 31 means more than 1 MB.
  • formatMessage
    Format an error message.
  • getCheckValue
    Calculate a check value for the given integer. A check value is mean to verify the data is consisten
  • getErrorCode
    Get the error code from an exception message.
  • getFletcher32
    Calculate the Fletcher32 checksum.
  • getPageChunkId
    Get the chunk id from the position.
  • getPageMaxLength
    Get the maximum length for the given code. For the code 31, PAGE_LARGE is returned.
  • getPageChunkId,
  • getPageMaxLength,
  • getPageOffset,
  • getPagePos,
  • getPageType,
  • getVarIntLen,
  • initCause,
  • newIllegalArgumentException,
  • newIllegalStateException,
  • newUnsupportedOperationException

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JButton (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 17 Plugins for Android Studio
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