The paper on the algorithm is here: http://www.vldb.org/pvldb/vol8/p1816-teller.pdf
Somebody implemented the algorithm in go based on the paper here: https://github.com/dgryski/go-tsz
A short answer that may work for your question: the bits that are set in RAM are xor values relative to previous values. To provide an answer as to what the value is, a series of read|xor operations are performed.