com.faunos.util.io
Class VInt

java.lang.Object
  extended by com.faunos.util.io.VInt

public class VInt
extends Object

Variable width integral value reader and writer.

Attribution

Contains derivative work from the Apache Lucene project, which is licensed under the Apache License.


Method Summary
static long readLong(ByteBuffer buffer)
           
static int sizeOf(long value)
           
static void writeLong(ByteBuffer buffer, long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readLong

public static long readLong(ByteBuffer buffer)

writeLong

public static void writeLong(ByteBuffer buffer,
                             long value)

sizeOf

public static int sizeOf(long value)


SourceForge.net Logo