@Override
  @GuardedBy("this")
  public synchronized int read() throws IOException {
    byte[] oneByte = new byte[1];
    if (read(oneByte) == 1) {
      return oneByte[0] & 0xff;
    }
    return -1;
  }
This class does not support mark() and reset().
Applications that need random access to the plaintext of a long ciphertext
should use a SeekableByteChannelDecrypter (or SeekableDecryptingChannel).
java_src/src/main/java/com/google/crypto/tink/streamingaead/InputStreamDecrypter.java