FAQ Database Discussion Community


Reading necessary bytes

c#,string,byte,elm327
is it possible to read only last two bytes from a string. For example I receive 41 0C 34 from a stream socket, and I only need 34. In what way I can do this. Here is my code: public string ReadSensor(ISensor sensor) { if (ConnectedPort == null) return null;...