(byte[] data, int offset)
| 28 | } |
| 29 | |
| 30 | static long readUInt(byte[] data, int offset) { |
| 31 | long ch1 = data[offset] & 0xffL; |
| 32 | long ch2 = data[offset + 1] & 0xffL; |
| 33 | long ch3 = data[offset + 2] & 0xffL; |
| 34 | long ch4 = data[offset + 3] & 0xffL; |
| 35 | return (ch1) | (ch2 << 8) | (ch3 << 16) | (ch4 << 24); |
| 36 | } |
| 37 | |
| 38 | static byte[] intToBytes(int value) { |
| 39 | byte[] array = new byte[4]; |
nothing calls this directly
no outgoing calls
no test coverage detected