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