MCPcopy Create free account
hub / github.com/Open-Agriculture/AgIsoStack-rs / read_string_variable

Method read_string_variable

src/object_pool/reader.rs:830–840  ·  view source on GitHub ↗
(
        id: ObjectId,
        data: &mut dyn Iterator<Item = u8>,
    )

Source from the content-addressed store, hash-verified

828 }
829
830 fn read_string_variable(
831 id: ObjectId,
832 data: &mut dyn Iterator<Item = u8>,
833 ) -> Result<Self, ParseError> {
834 let o = StringVariable {
835 id,
836 value: Self::read_string(Self::read_u16(data)?.into(), data)?,
837 };
838
839 Ok(Object::StringVariable(o))
840 }
841
842 fn read_font_attributes(
843 id: ObjectId,

Callers

nothing calls this directly

Calls 1

StringVariableClass · 0.85

Tested by

no test coverage detected