X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=unused%2Fjavajs%2Fapi%2FGenericBinaryDocumentReader.java;fp=unused%2Fjavajs%2Fapi%2FGenericBinaryDocumentReader.java;h=aea6f63f3ac5c16de49ad6254b162f03a50cd613;hb=65740880573a48adc758bec3939ece9d9ae104dd;hp=0000000000000000000000000000000000000000;hpb=71aa78b8a7d54e5aeb6b278310dfd735efb77477;p=jalview.git diff --git a/unused/javajs/api/GenericBinaryDocumentReader.java b/unused/javajs/api/GenericBinaryDocumentReader.java new file mode 100644 index 0000000..aea6f63 --- /dev/null +++ b/unused/javajs/api/GenericBinaryDocumentReader.java @@ -0,0 +1,25 @@ +package javajs.api; + +public interface GenericBinaryDocumentReader { + + byte readByte() throws Exception; + + byte[] readBytes(int n) throws Exception; + + int readUInt8() throws Exception; + + int readInt() throws Exception; + + short readShort() throws Exception; + + int readUnsignedShort() throws Exception; + + long readLong() throws Exception; + + float readFloat() throws Exception; + + double readDouble() throws Exception; + + String readString(int i) throws Exception; + +}