Commit 995d6af
DataHandle: add ensureWritable method
In SCIFIO and Bio-Formats, this was present as the method
AbstractNIOHandle#validateLength.
But there is no reason to limit it to NIO-flavored handles only.
We use the name ensureWritable for clarity, and for symmetry
with a future ensureReadable method.1 parent 2fd0e37 commit 995d6af
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
76 | 95 | | |
77 | 96 | | |
78 | 97 | | |
| |||
0 commit comments