choose the right typedarray for you