public class Leb128Writer extends Object
| Constructor and Description |
|---|
Leb128Writer(OutputStream os) |
public Leb128Writer(OutputStream os)
public <T extends Leb128Serializable> void writeObject(T obj) throws CloudproofException
CloudproofExceptionpublic <LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable> void writeTuple(Tuple<LEFT,RIGHT> tuple) throws CloudproofException
CloudproofExceptionpublic <T extends Leb128Serializable> void writeCollection(Collection<T> elements) throws CloudproofException
CloudproofExceptionpublic <K extends Leb128Serializable,V extends Leb128Serializable> void writeMap(Map<K,V> map) throws CloudproofException
CloudproofExceptionpublic <K extends Leb128Serializable,V extends Leb128Serializable> void writeEntryCollection(Collection<Map.Entry<K,V>> entryCollection) throws CloudproofException
CloudproofExceptionpublic static <T extends Leb128Serializable> byte[] serializeCollection(Collection<T> elements) throws CloudproofException
CloudproofExceptionpublic static <K extends Leb128Serializable,V extends Leb128Serializable> byte[] serializeMap(Map<K,V> map) throws CloudproofException
CloudproofExceptionpublic static <LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable> byte[] serializeTuple(Tuple<LEFT,RIGHT> tuple) throws CloudproofException
CloudproofExceptionpublic static <K extends Leb128Serializable,V extends Leb128Serializable> byte[] serializeEntryCollection(Collection<Map.Entry<K,V>> entryCollection) throws CloudproofException
CloudproofExceptionCopyright © 2023. All rights reserved.