forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add method to copy to file channel from buffer (elastic#108228)
Currently in ShardBytes we only support copying from an inputstream using an intermediate buffer. This commit adds a method to copy from the buffer directly without reading from the input stream.
- Loading branch information
1 parent
eb90e36
commit fd3aa53
Showing
1 changed file
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters