JAL-3541 selectively merged build.gradle and gradle.properties
[jalview.git] / unused / javajs / api / GenericOutputChannel.java
diff --git a/unused/javajs/api/GenericOutputChannel.java b/unused/javajs/api/GenericOutputChannel.java
new file mode 100644 (file)
index 0000000..73649d7
--- /dev/null
@@ -0,0 +1,22 @@
+package javajs.api;
+
+public interface GenericOutputChannel {
+
+  boolean isBigEndian();
+
+  void writeByteAsInt(int b);
+
+  void write(byte[] b, int off, int n);
+
+  void writeInt(int i);
+
+  void reset();
+
+  String closeChannel();
+
+  void writeLong(long b);
+
+  void writeShort(short i);
+
+
+}