Example #1
0
 public GeckoCommand ReadCommand()
 {
     return(GeckoConverter.ToGeckoCommand(ReadConvertBytes(sizeof(GeckoCommand)), 0));
 }
Example #2
0
 public void WriteCommand(GeckoCommand value)
 {
     byte[] bytes = GeckoConverter.GetBytes(value);
     EndianizeBytes(bytes);
     Write(bytes, 0, sizeof(GeckoCommand));
 }