code: public InputStream getUnicodeStream(int columnIndex) throws SQLException {
      checkObjectRange(columnIndex);
      if (row.lastValueWasNull()) {
        return null;
      }
      return new ByteArrayInputStream(
          new String(row.buf, row.pos, row.getLengthMaxFieldSize(), StandardCharsets.UTF_8)
              .getBytes());
    }
docs: {inheritDoc}.