Skip to main content

encode_releases

Function encode_releases 

Source
pub(crate) fn encode_releases(releases: &BTreeMap<RegionId, u64>) -> Bytes
Expand description

Encodes release records, ordered by region and at most one per region, as the payload of the entry of RELEASE_REGION_ID: their count, then the region id and the entry id of each.