MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / readSectorUniqueStore

Method readSectorUniqueStore

source/game/StarWorldStorage.cpp:575–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573}
574
575WorldStorage::SectorUniqueStore WorldStorage::readSectorUniqueStore(ByteArray const& data) {
576 return DataStreamBuffer::deserialize<SectorUniqueStore>(uncompressData(data));
577}
578
579ByteArray WorldStorage::writeSectorUniqueStore(SectorUniqueStore const& store) {
580 return compressData(DataStreamBuffer::serialize(store));

Callers

nothing calls this directly

Calls 1

uncompressDataFunction · 0.85

Tested by

no test coverage detected