Cleaned up LogFile and ByteArrayToHex utils.

This commit is contained in:
deviltti committed 2016-06-10 19:58:01 -04:00
1 parent 8b93abe86e
commit 1c712c7533
31 files changed
+409 -405

No files matched your search

@@ -227,7 +227,7 @@ namespace FFXIVClassic_Lobby_Server.dataobjects
{
byte[] bytes = File.ReadAllBytes("./packets/charaappearance.bin");
Log.debug(Utils.ByteArrayToHex(bytes));
Log.Debug(Utils.ByteArrayToHex(bytes));
return Convert.ToBase64String(bytes).Replace('+', '-').Replace('/', '_');
}
@@ -33,9 +33,9 @@ namespace FFXIVClassic_Lobby_Server
charaInfo.Replace("/", "_");
byte[] data = System.Convert.FromBase64String(charaInfo);
Log.debug("------------Base64 printout------------------");
Log.debug(Utils.ByteArrayToHex(data));
Log.debug("------------Base64 printout------------------");
Log.Debug("------------Base64 printout------------------");
Log.Debug(Utils.ByteArrayToHex(data));
Log.Debug("------------Base64 printout------------------");
CharaInfo chara = new CharaInfo();