Split out from ARROW-10990 which was the last internal user of that method. The same result can be achieved in a safer way by using values()[offset..offset+len]. The raw_values method in BooleanArray is also unused and could be removed.
Reporter: Jörn Horstmann / @jhorstmann
Assignee: Jörn Horstmann / @jhorstmann
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-11099. Please see the migration documentation for further details.