Package org.jboss.marshalling
Interface StreamHeader
-
public interface StreamHeaderA producer of stream headers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreadHeader(ByteInput input)Read the stream header from the stream.voidwriteHeader(ByteOutput output)Write the stream header to the stream.
-
-
-
Method Detail
-
readHeader
void readHeader(ByteInput input) throws IOException
Read the stream header from the stream.- Parameters:
input- the stream header- Throws:
IOException- if the header is invalid or an error occurs
-
writeHeader
void writeHeader(ByteOutput output) throws IOException
Write the stream header to the stream.- Parameters:
output- the stream header- Throws:
IOException- if an error occurs
-
-