Read a slice from the `where` dataset and put it in `buffer`.
(
self, where: Array, buffer: np.ndarray, start: int = 0
)
| 1510 | |
| 1511 | # Read version for LastRow |
| 1512 | def read_slice_lr( |
| 1513 | self, where: Array, buffer: np.ndarray, start: int = 0 |
| 1514 | ) -> None: |
| 1515 | """Read a slice from the `where` dataset and put it in `buffer`.""" |
| 1516 | startl = np.array([start], dtype=np.uint64) |
| 1517 | stopl = np.array([start + buffer.size], dtype=np.uint64) |
| 1518 | stepl = np.array([1], dtype=np.uint64) |
| 1519 | where._g_read_slice(startl, stopl, stepl, buffer) |
| 1520 | |
| 1521 | # Write version for LastRow |
| 1522 | def write_slice_lr( |
no outgoing calls
no test coverage detected