harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib][archive] Re: Delayed entry parsing
Date Thu, 27 Mar 2008 22:57:32 GMT
Alexei Fedotov wrote:
> I have completed changes [1] based on your ideas of using
> ByteArrayInputStream child for exposing its underlying buffer as well
> as fixed few of my earlier TODO comments. I found the contract of the
> underlying buffer capturing close to ByteBuffer.wrap() method and
> named the class correspondingly.

Nah, ByteBuffer.wrap(byte[]) would return a ByteBuffer.  This is 
reaching in and getting the implementation (i.e. almost the opposite).

We need to rename it.  How about InputStreamExposer#expose(InputStream).

Regards,
Tim


Mime
View raw message