Expand description
NDR (Network Data Representation) marshaling — the DCE/RPC Transfer Syntax, little-endian.
The foundation every MS-RPCE interface rides on. Implements the pieces the
SAMR/LSAT/EPM/DRSUAPI/WMI calls need: aligned primitives, conformant & varying
arrays, unique (referent) pointers, and conformant-varying UTF-16 strings
(the RPC_UNICODE_STRING payload shape).
Alignment is relative to the start of the stub buffer, matching the NDR rule that an aggregate aligns to its largest member. This crate is transport- and interface-agnostic: it only turns Rust values into NDR bytes and back.
Structs§
- NdrDecoder
- Deserializer over a stub buffer.
- NdrEncoder
- Serializer. Alignment is relative to the start of the stub buffer.
Enums§
- NdrError
- The only way marshaling fails: the decoder ran off the end of the stub buffer.