org.fusesource.hawtbuf.proto.MessageBuffer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hawtbuf-proto Show documentation
Show all versions of hawtbuf-proto Show documentation
HawtBuf Proto: A protobuf library
The newest version!
package org.fusesource.hawtbuf.proto;
import java.io.IOException;
import java.io.OutputStream;
import org.fusesource.hawtbuf.Buffer;
public interface MessageBuffer extends PBMessage {
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;
}