(int a, int b, byte[] s, int offset,
int length)
| 64 | } |
| 65 | |
| 66 | private static byte[] replace(int a, int b, byte[] s, int offset, |
| 67 | int length) |
| 68 | { |
| 69 | byte[] array = new byte[length]; |
| 70 | for (int i = 0; i < length; ++i) { |
| 71 | byte c = s[i]; |
| 72 | array[i] = (byte) (c == a ? b : c); |
| 73 | } |
| 74 | return array; |
| 75 | } |
| 76 | |
| 77 | public String getName() { |
| 78 | return getName(vmClass); |