Пример #1
0
 private bool ReadHeader()
 {
     //this.MovePosition(4);
     byte[] header = this._reader.ReadBytes(4);
     if (header[0] == 0x3a && header[1] == 0x29 && header[2] == 0x0a)
     {
         this.CurrentOptions = (SMILE_OPTIONS)header[3];
         return(true);
     }
     return(false);
 }
Пример #2
0
 public void WriteHeaderWithOptions(SMILE_OPTIONS options)
 {
     this._Write(0x3a, 0x29, 0x0a, (byte)options);
 }