<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi Louis,
<div><br>
</div>
<div>I have a  functional patch implemented. It adds available() to FileChannelImpl which then uses it if the SeekableByteChannel is a FileChannelImpl. The patch only had the UNIX changes for now; I’ve not investigated Windows enough to know what to do there.</div>
<div><br>
</div>
<div>Does that sound reasonable?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Brian<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Oct 2, 2024, at 1:48 PM, Louis Bergelson <louisb@broadinstitute.org> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="font-size: 9.8pt;"><font face="arial, sans-serif">3.  Modify the available method on ChannelInputStream to return 0 in this case.</font></span></div>
<br class="Apple-interchange-newline">
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>