com.google.bitcoin.core
Class BitcoinSerializer.BitcoinPacketHeader

java.lang.Object
  extended by com.google.bitcoin.core.BitcoinSerializer.BitcoinPacketHeader
Enclosing class:
BitcoinSerializer

public static class BitcoinSerializer.BitcoinPacketHeader
extends Object


Field Summary
 byte[] checksum
           
 String command
           
 byte[] header
           
static int HEADER_LENGTH
          The largest number of bytes that a header can represent
 int size
           
 
Constructor Summary
BitcoinSerializer.BitcoinPacketHeader(ByteBuffer in)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER_LENGTH

public static final int HEADER_LENGTH
The largest number of bytes that a header can represent

See Also:
Constant Field Values

header

public final byte[] header

command

public final String command

size

public final int size

checksum

public final byte[] checksum
Constructor Detail

BitcoinSerializer.BitcoinPacketHeader

public BitcoinSerializer.BitcoinPacketHeader(ByteBuffer in)
                                      throws ProtocolException,
                                             BufferUnderflowException
Throws:
ProtocolException
BufferUnderflowException


Copyright © 2014. All rights reserved.