private static final class Marshalling.StaticStreamHeader extends java.lang.Object implements StreamHeader, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
headerBytes |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
StaticStreamHeader(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
readHeader(ByteInput input)
Read the stream header from the stream.
|
java.lang.String |
toString() |
void |
writeHeader(ByteOutput output)
Write the stream header to the stream.
|
private final byte[] headerBytes
private static final long serialVersionUID
public void readHeader(ByteInput input) throws java.io.IOException
StreamHeaderreadHeader in interface StreamHeaderinput - the stream headerjava.io.IOException - if the header is invalid or an error occurspublic void writeHeader(ByteOutput output) throws java.io.IOException
StreamHeaderwriteHeader in interface StreamHeaderoutput - the stream headerjava.io.IOException - if an error occurspublic java.lang.String toString()
toString in class java.lang.Object