Commit 23887e8
Gabriel Einsdorf
BytesLocation: add ctor with initial capacity
This makes it easier to create BytesHandles on the fly:
bytes = dataHandleService.create(new BytesLocation(512));
instead of:
bytes = dataHandleService.create(
new BytesLocation(ByteBuffer.allocate(512)));1 parent d2b23dc commit 23887e8
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
| |||
0 commit comments