Dim s As String = "begin" & Chr(1)
Dim msg() As Byte = s.GetBytes("UTF8")
Dim sb As StringBuilder
sb.Initialize
For Each b As Byte In msg
sb.Append(b).Append(" ")
Next
sb.Append(CRLF)
For Each b As Byte In msg
sb.append("0x").Append(Bit.ToHexString(b.As(Int))).Append(" ")
Next
sb.Append(CRLF)
For Each b As Byte In msg
sb.Append(Chr(b)).Append(" ")
Next
Log(sb.ToString)