diff --git a/src/dorkbox/util/Sys.java b/src/dorkbox/util/Sys.java index 4065ee7..7d25ff3 100644 --- a/src/dorkbox/util/Sys.java +++ b/src/dorkbox/util/Sys.java @@ -297,7 +297,7 @@ class Sys { */ @SuppressWarnings("NumericCastThatLosesPrecision") public static - byte[] charToBytes(char[] text) { + byte[] charToBytes16(char[] text) { // NOTE: this saves the char array in UTF-16 format of bytes. byte[] bytes = new byte[text.length * 2]; for (int i = 0; i < text.length; i++) {