@Nullable
    public static Pair<String, String> splitLatin1(byte[] bytes, byte delimiter) {
        int length = bytes.length;
        for (int i = 0; i < length; i++) {
            if (bytes[i] == delimiter) {
                byte[] first = new byte[i];
                byte[] second = new byte[length - i - 1];
                System.arraycopy(bytes, 0, first, 0, first.length);
                System.arraycopy(bytes, first.length + 1, second, 0, second.length);
                return Pair.of(newLatin1String(first), newLatin1String(second));
            }
        }
        return null;
    }
@implNote The method assumes the string does NOT contain any extended control character if it
          is encoded in LATIN1. Though Latin-1 is a subset of Unicode, Latin-1 and UTF-8 have
          different bit patterns.
@see <a href="https://cs.stanford.edu/people/miles/iso8859.html">iso8859</a>
turms-server-common/src/main/java/im/turms/server/common/infra/lang/StringUtil.java