Skip to content
Snippets Groups Projects
BdfWriter.java 782 B
Newer Older
package org.briarproject.api.data;
public interface BdfWriter {
	void flush() throws IOException;
	void close() throws IOException;

	void writeNull() throws IOException;
	void writeBoolean(boolean b) throws IOException;
	void writeInteger(long l) throws IOException;
	void writeFloat(double d) throws IOException;
	void writeString(String s) throws IOException;
akwizgran's avatar
akwizgran committed
	void writeRaw(byte[] b) throws IOException;
	void writeList(Collection<?> c) throws IOException;
	void writeListStart() throws IOException;
	void writeListEnd() throws IOException;
	void writeDictionary(Map<?, ?> m) throws IOException;
	void writeDictionaryStart() throws IOException;
	void writeDictionaryEnd() throws IOException;