I have built V8 with the "v8_enable_i18n_support=true" gn flag and I can successfully initialize it by providing the location of the "icudtl.dat" file (created during the v8 build process):
bool success = V8::InitializeICU("/path_to/icudtl.dat");
I was wondering if instead of providing the location of this file on the file system, it is possible to pass a pointer to the contents? I would like to somehow embed this file into my application.
For example for the V8 heap snapshot there are the "V8::SetNativesDataBlob" and "V8::SetSnapshotDataBlob" APIs which allow me to directly pass a pointer to "natives_blob.bin" and "snapshot_blob.bin" file contents and I don't need to distribute them separately.