String UTF_16LE byte size is double of character size.
This commit is contained in:
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ public class ReadablePacket
|
|||||||
String result = "";
|
String result = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
result = new String(readBytes(readShort()), StandardCharsets.UTF_16LE);
|
result = new String(readBytes(readShort() * 2), StandardCharsets.UTF_16LE);
|
||||||
}
|
}
|
||||||
catch (Exception ignored)
|
catch (Exception ignored)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user