public void resetState() { if (!Disposed) { synchronousByteIndex = 0; nextSyncByteBuffer = null; synchronousByteBuffer = new byte[0]; } }