* refactor: remove deprecated CreateWithCopiedBuffer * fix: add missing vector includes * fix std::vector<char> allocation