public int read()

in digital-document-service/src/main/java/com/epam/digital/data/platform/dgtldcmnt/wrapper/Sha256DigestCalculatingInputStream.java [102:108]


  public int read(@NotNull byte[] b, int off, int len) throws IOException {
    int ch = is.read(b, off, len);
    if (ch != -1) {
      digest.update(b, off, ch);
    }
    return ch;
  }