Add allocator support to array_view::vec() and str(), and to string_view::str.
Convert from two-pointer representation to ptr+size representation with 32-bit size.