fix an issue wrt typed_data
handle ByteBuffers and Uint8Lists
Merge pull request #2763 from devoncarew/devoncarew_fix_checked_mode

fix an issue wrt typed_data