Beispiel #1
0
 public byte[] ReadEverything()
 {
     if (this._stream is Stream27)
     {
         return(((Stream27)this._stream).ToArray());
     }
     if (!this.CanRead)
     {
         throw new Exception("Can't read from hexstream!");
     }
     return(KeyGenerator.ReadBytes(this._stream));
 }