BitConverter: ToString |
Converts an array of bytes to a string of hexidecimal notations.
Public Function ToString( ByRef Value ( ) As Byte, Optional ByRef StartIndex As Variant, Optional ByRef Count As Variant ) As String
Each byte to be converted to string is converted into a hexidecimal representation. For example a byte value of 160 would become A0' in the return string. Each byte is separated by a hyphen when more than one byte is being converted. An example is a Long of &HABCDEF01 would become 01-EF-CD-AB'.