HamBook – Blame information for rev 54
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
11 | office | 1 | using System; |
2 | using System.Text; |
||
3 | |||
4 | namespace HamBook.Radios |
||
5 | { |
||
6 | public class UnexpectedRadioResponseException : Exception |
||
7 | { |
||
54 | office | 8 | public UnexpectedRadioResponseException() |
11 | office | 9 | { |
10 | } |
||
11 | |||
12 | public UnexpectedRadioResponseException(string name, byte[] buffer) : this() |
||
13 | { |
||
14 | Name = name; |
||
15 | Buffer = buffer; |
||
54 | office | 16 | |
17 | Response = Encoding.ASCII.GetString(buffer); |
||
11 | office | 18 | } |
54 | office | 19 | |
20 | public string Name { get; } |
||
21 | public byte[] Buffer { get; } |
||
22 | |||
23 | public string Response { get; } |
||
11 | office | 24 | } |
54 | office | 25 | } |