Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reuse the byte buffer instead of reallocating
For performance, Bio-Formats supports passing a preallocated byte buffer. Let's definitely do this whenever possible, instead of getting back a newly allocated buffer (of the exact same size) every time. Might help some with scifio/scifio-imageio#17.
- Loading branch information