Optimization
This commit is contained in:
parent
9da2c8f5d9
commit
9faebd75a0
@ -460,6 +460,6 @@ public class SafeDataInputStream extends SafeFilterInputStream implements SafeDa
|
|||||||
data = new byte[utflen];
|
data = new byte[utflen];
|
||||||
}
|
}
|
||||||
in.readFully(data, 0, utflen);
|
in.readFully(data, 0, utflen);
|
||||||
return new String(data, StandardCharsets.UTF_8);
|
return new String(data, 0, utflen, StandardCharsets.UTF_8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user