Converts an 4 bytes java int representation to an int.
(byte b[])
| 282 | |
| 283 | /** Converts an 4 bytes java int representation to an int. */ |
| 284 | public static int getInt(byte b[]) { |
| 285 | return (b[0] & 0xff) | ((b[1] & 0xff) << 8) | ((b[2] & 0xff) << 16) | ((b[3] & 0xff) << 24); |
| 286 | } |
| 287 | |
| 288 | /** Duplicates a float array. */ |
| 289 | public static float[] clone(float in[]) { |
no outgoing calls
no test coverage detected