(long[] val)
| 848 | } |
| 849 | |
| 850 | public final void readLongArray(long[] val) { |
| 851 | int N = readInt(); |
| 852 | if (N == val.length) { |
| 853 | for (int i=0; i<N; i++) { |
| 854 | val[i] = readLong(); |
| 855 | } |
| 856 | } else { |
| 857 | throw new RuntimeException("bad array lengths"); |
| 858 | } |
| 859 | } |
| 860 | |
| 861 | public final void writeFloatArray(float[] val) { |
| 862 | if (val != null) { |