public static class BitcoinSerializer.BitcoinPacketHeader
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
byte[] |
checksum |
java.lang.String |
command |
byte[] |
header |
static int |
HEADER_LENGTH
The largest number of bytes that a header can represent
|
int |
size |
| Constructor and Description |
|---|
BitcoinPacketHeader(java.nio.ByteBuffer in) |
public static final int HEADER_LENGTH
public final byte[] header
public final java.lang.String command
public final int size
public final byte[] checksum
public BitcoinPacketHeader(java.nio.ByteBuffer in)
throws ProtocolException,
java.nio.BufferUnderflowException
ProtocolExceptionjava.nio.BufferUnderflowException