commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IO-548) Add FileUtils#readFileToByteArray Offset,Size
Date Mon, 14 Aug 2017 18:05:00 GMT

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

Gary Gregory commented on IO-548:
---------------------------------

We have a GitHub mirror for PRs ;-)

> Add FileUtils#readFileToByteArray Offset,Size
> ---------------------------------------------
>
>                 Key: IO-548
>                 URL: https://issues.apache.org/jira/browse/IO-548
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Utilities
>    Affects Versions: 2.5
>            Reporter: BELUGA BEHR
>            Priority: Minor
>
> Please two new versions of {{FileUtils#readFileToByteArray}}:
> # Read from an offset in the file, up to a certain length
> {{byte[] FileUtils#readFileToByteArray(long fileOffset, int fileLength}}
> # Read directly into an existing buffer from a given file offset and buffer length
> {{void FileUtils#readFileToByteArray(byte[] buf, long fileOffset, int fileLength, int
bufOffset, int bufLength}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message