nasa / bplib

Apache License 2.0
30 stars 13 forks source link

Create memory pool implementation to support BPv7 structures #76

Closed jphickey closed 2 years ago

jphickey commented 2 years ago

Because BPv7 structures are encoded so much differently than BPv6 structures, some of the assumptions made in bplib for v6 are no longer valid/applicable. In particular maintaining offsets into the encoded payload for future updates are no longer feasible, because everything moves with every change. Instead data needs to be organized at the block level, and final encoding needs to be deferred until all fields are known and not going to change anymore.

Ideally the implementation would support the following: