- // dst.put(arr, 0, read);
-
- // try {
- // byte[] arr = dst.array();
- // read = binary.read(arr, position);
- // } catch (UnsupportedOperationException e) {
- // int capacity = dst.capacity();
- // byte[] arr = new byte[capacity];
- // read = binary.read(arr, position);
- // dst.put(arr);
- // }