The ArrayWithOffset class contains the following methods:
getArray returns the wrapped array. getOffset returns the offset in bytes.