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

Method readEntitySector

source/game/StarWorldStorage.cpp:472–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472WorldStorage::EntitySectorStore WorldStorage::readEntitySector(ByteArray const& data) {
473 return DataStreamBuffer::deserialize<EntitySectorStore>(uncompressData(data));
474}
475
476ByteArray WorldStorage::writeEntitySector(EntitySectorStore const& store) {
477 return compressData(DataStreamBuffer::serialize(store));

Callers

nothing calls this directly

Calls 1

uncompressDataFunction · 0.85

Tested by

no test coverage detected