public static SlowInputStream copyFrom(byte[] b) {
    return new SlowInputStream(Arrays.copyOf(b, b.length));
  }
An implementation of ByteArrayInputStream which returns each element separately. Used for testing
only.
java_src/src/main/java/com/google/crypto/tink/internal/SlowInputStream.java