Skip to main content

SPK

Type Alias SPK 

pub type SPK = DAF<SPKSummaryRecord>;
Expand description

Spacecraft Planetary Kernel

Aliased Type§

pub struct SPK {
    pub bytes: BytesMut,
    pub crc32: Option<u32>,
    pub index: HashMap<i32, Vec<(SPKSummaryRecord, Option<usize>, usize)>>,
}

Fields§

§bytes: BytesMut§crc32: Option<u32>

CRC32 field enables memory scrubbing, reducing memory errors in a radiation-laden environment.

§index: HashMap<i32, Vec<(SPKSummaryRecord, Option<usize>, usize)>>

Index of the NAIF ID to its summary record only if all of the summaries for this ID are chronologically ordered. Enables binary search for that ID.