979899100101102103104105106107
try { DataOutput dos; if (bigEndian) { dos = new DataOutputStream(stream); } else { dos = new LEDataOutputStream(stream); } for (int i = 0; i < array.length; i++) { dos.writeInt(array[i]); }
126127128129130131132133134135136
try { DataOutput dos; if (bigEndian) { dos = new DataOutputStream(stream); } else { dos = new LEDataOutputStream(stream); } for (int i = 0; i < array.length; i++) { dos.writeFloat(array[i]); }
155156157158159160161162163164165
try { DataOutput dos; if (bigEndian) { dos = new DataOutputStream(stream); } else { dos = new LEDataOutputStream(stream); } for (int i = 0; i < array.length; i++) { dos.writeDouble(array[i]); }