You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Kristian Rosenvold (JIRA)" <ji...@apache.org> on 2014/10/16 08:56:33 UTC

[jira] [Comment Edited] (IO-457) Add BoundedReader

    [ https://issues.apache.org/jira/browse/IO-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14173447#comment-14173447 ] 

Kristian Rosenvold edited comment on IO-457 at 10/16/14 6:55 AM:
-----------------------------------------------------------------

I revised this patch to be a bit more general, now it serves more use cases, it can be used also without mark/reset. I deleted original patch and added new one


was (Author: krosenvold):
I revised this patch to be a bit more general, now it serves more use cases. I deleted original patch and added new one

> Add BoundedReader
> -----------------
>
>                 Key: IO-457
>                 URL: https://issues.apache.org/jira/browse/IO-457
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Streams/Writers
>            Reporter: Kristian Rosenvold
>         Attachments: boundedreaderv2.patch
>
>
> The enclosed patch contains a BoundedReader, a wrapper that can be used to constrain access to an underlying stream when used with mark/reset - to avoid overflowing the mark limit of the underlying buffer.
> This code is originally written by me in the maven project



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)