public void ResetReader() { if (this.readerStream != null) this.readerStream.Close(); this.readerStream = new MemoryStream(this.readBuffer); this.reader = new BinaryReader((Stream)this.readerStream); }