Skip to content

Commit

Permalink
ExtLibs: Utilities: BinaryLog: fix FW version detecton used for mode …
Browse files Browse the repository at this point in the history
…names
  • Loading branch information
IamPete1 authored and meee1 committed Oct 29, 2023
1 parent ca368f7 commit f57bc79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ExtLibs/Utilities/BinaryLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ public string ReadMessage(Stream br, long length)
{
if (a.IsNumber())
return (((IConvertible)a).ToString(CultureInfo.InvariantCulture));
else if (a is System.Byte[])
return System.Text.Encoding.ASCII.GetString(a as byte[]).Trim('\0');
else
return a?.ToString();
})) + "\r\n";
Expand Down

0 comments on commit f57bc79

Please sign in to comment.