Example #1
0
 public static void Write(this BinaryWriter bw, TagType tagtype)
 {
     byte[] buffer = Encoding.UTF8.GetBytes(tagtype.ToString());
     Array.Reverse(buffer, 0, 4);
     bw.Write(buffer, 0, 4);
 }
Example #2
0
 public Report(string tagname, TagType type)
 {
     Tagname = String.Empty;
     Type = TagType.Null;
     Sectors = new List<Sector>();
 }