Record Class InputStreamAndLength

java.lang.Object
java.lang.Record
io.datarouter.bytes.io.InputStreamAndLength

public record InputStreamAndLength(InputStream inputStream, long length) extends Record
Some situations like S3 multipart upload require wrapping a known quantity of bytes into an InputStream.