Top Description Methods
org.jboss.marshalling

public Interface StreamHeader

Known Direct Implementers
org.jboss.marshalling.Marshalling.StaticStreamHeader
Imports
java.io.IOException

A producer of stream headers.

Method Summary

Modifier and TypeMethod and Description
public void
readHeader(ByteInput
the stream header
input
)

Read the stream header from the stream.

public void
writeHeader(ByteOutput
the stream header
output
)

Write the stream header to the stream.

Method Detail

readHeaderback to summary
public void readHeader(ByteInput input) throws IOException

Read the stream header from the stream.

Parameters
input:ByteInput

the stream header

Exceptions
IOException:
if the header is invalid or an error occurs
writeHeaderback to summary
public void writeHeader(ByteOutput output) throws IOException

Write the stream header to the stream.

Parameters
output:ByteOutput

the stream header

Exceptions
IOException:
if an error occurs