getValue now get a view instead of just the bytelength