Small detail: you could have used this syntax instead.
```
var r = [2]uint64{
    0: offset,
    1: length,
 }
```