wire / magic /
leveldb
LevelDB / RocksDB table file signature A LevelDB (and RocksDB) SSTable file begins with a 48-byte (or 32-byte for legacy) footer. The last 8 bytes of the file are the magic number 0x57FB808B (little-endian) for LevelDB, or 0x88E241B6 for RocksDB.
magic kind signature status de-facto verification verified tier B file-signature@1
aka: leveldb magic · .ldb · .sst
file signature magic: 57 FB 80 8B⧉ copy @ offset 0
.ldb .sst application/x-leveldb
spec: LevelDB file format
Magic 0x57FB808B is at the END of the file (last 8 bytes), not the beginning. The footer also contains metaindex and index block handles. RocksDB uses a different magic: 0x88E241B6. SSTables are immutable sorted string tables; compaction merges them.
agent: curl -H 'accept: application/json' wire.phall.io/magic/leveldb⧉ copy
or /magic/leveldb.json ⧉ copy
wire.phall.io ⌘K search main ✓