Synced
ContentPackIndexCodec.Encode
Section titled “ContentPackIndexCodec.Encode”
- Captures the entire index with the operation’s pinned converter generation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Content
Declaration
Section titled “Declaration”public static byte[] Inno.Content.ContentPackIndexCodec.Encode(Inno.Content.ContentPackIndex index, Inno.Core.Serialization.SerializationGeneration serialization)Parameters
Section titled “Parameters”Parameter index: The validated immutable inventory.
Parameter serialization: The borrowed generation shared by the enclosing build transaction.
Returns
Section titled “Returns”Newly owned deterministic index bytes.