Struct sbp::sbp_string::NullTerminated [−][src]
pub struct NullTerminated;
Expand description
Handles encoding and decoding of NULL terminated strings.
In SBP a NULL terminated string has the same definition as string in the C language. On the wire it is a sequence of characters with a NULL character to indicate the end of the string.
For example the string “text” would be represented on the wire as
text\0
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NullTerminated
impl Send for NullTerminated
impl Sync for NullTerminated
impl Unpin for NullTerminated
impl UnwindSafe for NullTerminated
Blanket Implementations
Mutably borrows from an owned value. Read more