Commits

Anonymous committed af7a378

added saveArray for shorts

Comments (0)

Files changed (1)

core/src/main/java/com/cubeia/firebase/io/PacketOutputStream.java

         }
     }
 	
+	public void saveArray(short[] data) throws IOException {
+        for (short val : data) {
+            os.writeShort(val);
+        }
+    }
+
+	
 	public void saveArray(String[] removedParams) throws IOException {
 		for (String name : removedParams) {
 			saveString(name);