com.google.bitcoin.core
Class VarInt

java.lang.Object
  extended by com.google.bitcoin.core.VarInt

public class VarInt
extends Object


Field Summary
 long value
           
 
Constructor Summary
VarInt(byte[] buf, int offset)
           
VarInt(long value)
           
 
Method Summary
 byte[] encode()
           
 byte[] encodeBE()
           
 int getSizeInBytes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public final long value
Constructor Detail

VarInt

public VarInt(long value)

VarInt

public VarInt(byte[] buf,
              int offset)
Method Detail

getSizeInBytes

public int getSizeInBytes()

encode

public byte[] encode()

encodeBE

public byte[] encodeBE()


Copyright © 2011. All Rights Reserved.