public class IterableInputStream<T> extends InputStream
Modifier and Type | Field and Description |
---|---|
static int |
EOF |
Constructor and Description |
---|
IterableInputStream(Iterator<T> iterator,
Function<T,byte[]> dataMapper,
Function<T,Integer> lenMapper) |
Modifier and Type | Method and Description |
---|---|
int |
read() |
available, close, mark, markSupported, read, read, reset, skip
public static final int EOF
public int read() throws IOException
read
in class InputStream
IOException
Copyright © 2023. All rights reserved.