public interface StreamHeader
Modifier and Type | Method and Description |
---|---|
void |
readHeader(ByteInput input)
Read the stream header from the stream.
|
void |
writeHeader(ByteOutput output)
Write the stream header to the stream.
|
void readHeader(ByteInput input) throws java.io.IOException
input
- the stream headerjava.io.IOException
- if the header is invalid or an error occursvoid writeHeader(ByteOutput output) throws java.io.IOException
output
- the stream headerjava.io.IOException
- if an error occursCopyright © 2011 JBoss, a division of Red Hat, Inc.