@Override public void resetWith(byte[] bytes, int len) { clnames.clear(); input.reset(); input.count = len; input.buf = bytes; input.pos = 0; }
@Override public void resetToCopyOf(byte[] bytes, int off, int len) { input.reset(); input.ensureCapacity(len); input.count = len; System.arraycopy(bytes, off, input.buf, 0, len); clnames.clear(); }