text: public void Reset(bool zeroFillBuffers, bool reuseFirst){if (bufferUpto != -1){if (zeroFillBuffers){for (int i = 0; i < bufferUpto; i++){Arrays.Fill(buffers[i], (byte)0);}Arrays.Fill(buffers[bufferUpto], 0, ByteUpto, (byte)0);}if (bufferUpto > 0 || !reuseFirst){int offset = reuseFirst ? 1 : 0;allocator.RecycleByteBlocks(buffers, offset, 1 + bufferUpto);Arrays.Fill(buffers, offset, 1 + bufferUpto, null);}if (reuseFirst){bufferUpto = 0;ByteUpto = 0;ByteOffset = 0;buffer = buffers[0];}else{bufferUpto = -1;ByteUpto = BYTE_BLOCK_SIZE;ByteOffset = -BYTE_BLOCK_SIZE;buffer = null;}}}