fn check_track_status(
status_code: VarInt,
largest_location: Location,
) -> Result<(), CodecError>Expand description
Hold a TRACK_STATUS Status Code and the fields after it to Section 8.21.
“Status Code: Provides additional information about the status of the track. It MUST hold one of the following values. Any other value is a malformed message.” Two of those values - 0x01 and 0x02 - add “Subsequent fields MUST be zero, and any other value is a malformed message”.
Applied on both sides. A malformed message is one this codec must not read and equally must not write: an encoder that emits an unassigned Status Code hands a conforming peer a message it is required to reject.