464465466467468469470471472473474
HsqlByteArrayInputStream be = new HsqlByteArrayInputStream(bytes); char[] chars = new char[bytes.length / 2]; try { for (int i = 0; i < chars.length; i++) { chars[i] = be.readChar(); } } catch (Exception e) { return Result.newErrorResult(e); }