Output data as proper hex

This commit is contained in:
Garry Newman 2020-02-25 16:26:18 +00:00
parent 263fb219a8
commit 4d98ea3d51

View File

@ -147,7 +147,7 @@ namespace Steamworks
continue;
}
Console.WriteLine( $"data: {string.Join( "", data.Select( x => x.ToString( "x" ) ) )}" );
Console.WriteLine( $"data: {BitConverter.ToString( data )}" );
return;
}
@ -168,7 +168,7 @@ namespace Steamworks
continue;
}
Console.WriteLine( $"data: {string.Join( "", data.Select( x => x.ToString( "x" ) ) )}" );
Console.WriteLine( $"data: {BitConverter.ToString( data )}" );
return;
}