Package org.jboss.marshalling

Examples of org.jboss.marshalling.StreamHeader.readHeader()


    public Marshaller create(final MarshallingConfiguration config, final ByteOutput target) throws IOException {
        final StreamHeader header = config.getStreamHeader();
        config.setStreamHeader(new StreamHeader() {
            public void readHeader(final ByteInput input) throws IOException {
                if (header != null) header.readHeader(input);
            }

            public void writeHeader(final ByteOutput output) throws IOException {
                if (header != null) header.writeHeader(output);
                output.write(0);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.