CommunicatorByteDisplayModes Enumeration
How to display sent and received bytes in a communication log
None - do not display
Hex - display two digit hexadecimal value per byte divided by '|'
Dec - display decimal ascii codes per byte divided by '|'
Chars - display charactes for bytes greater or equal to 32, and #hex for bytes less than 32
Lines - display whole lines divided by OutputLineSeparator/InputLineSeparator. Characters with ascii codes less than 32 display as #hex
For Hex, Dec, Char max displayBytesLength bytes per line is displayed.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
public enum ByteDisplayModes
None | 0 | Do not display |
Hex | 1 | Display two digit hexadecimal value per byte divided by '|' |
Dec | 2 | Display decimal ascii codes per byte divided by '|'/// |
Chars | 3 | Display charactes for bytes greater or equal to 32, and #hex for bytes less than 32 |
Lines | 4 | Display whole lines divided by OutputLineSeparator/InputLineSeparator |