blob: 9d553ba6c18c98f7f5b17fe52805dcb91f0c8fe1 [file] [log] [blame]
package org.apache.activemq.protobuf;
import java.io.IOException;
import java.io.OutputStream;
public interface MessageBuffer {
public int serializedSizeUnframed();
public int serializedSizeFramed();
public Buffer toUnframedBuffer();
public Buffer toFramedBuffer();
public byte[] toUnframedByteArray();
public byte[] toFramedByteArray();
public void writeUnframed(CodedOutputStream output) throws java.io.IOException;
public void writeFramed(CodedOutputStream output) throws java.io.IOException;
public void writeUnframed(OutputStream output) throws IOException;
public void writeFramed(OutputStream output) throws java.io.IOException;
}