Skip to main content

Module en

Module en 

Source
Available on crate feature _etsi only.
Expand description

C-ITS Message Encoding

Provides Rust and wasm functions to encode C-ITS messages. The Rust API just needs one method ([ItsMessage::encode]) for the [ItsMessage] struct while wasm has one function per message type.

Functions§

encode_to_jer_bufNon-WebAssembly
Encodes some ASN.1 data type to JER buffer
encode_to_jer_strNon-WebAssembly
Encodes some ASN.1 data type to JER string
encode_to_uperNon-WebAssembly
Encodes some ASN.1 data type to UPER buffer
encode_to_xer_bufNon-WebAssembly
Encodes some ASN.1 data type to XER buffer
encode_to_xer_strNon-WebAssembly
Encodes some ASN.1 data type to XER string

Type Aliases§

EncodedNon-WebAssembly
Rust output is a Vec<u8>