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