installBoundaries function
Installs packed boundary bytes as the isolate-wide shared index.
Primary web API — reach it through package:timezone_finder/browser.dart.
Corrupt bytes throw IndexFormatException. Same
BoundaryIndex.dataVersion again still validates and counts, but does not
replace the index.
Implementation
void installBoundaries(Uint8List bytes) {
final index = decodeIndex(() => bytes);
final existing = _installed;
if (existing != null && existing.dataVersion == index.dataVersion) {
return;
}
_installed = index;
}