(cls, byte_string)
return cls.from_model(model)
A named constructor from a model binary as a byte string.
A named constructor from a model binary as a byte string.
A named constructor from a model binary as a byte string .
def from_byte_string(cls, byte_string):
    """A named constructor from a model binary as a byte string."""
    model = wrapper.MjModel.from_byte_string(byte_string)
    return cls.from_model(model)
def from_byte_string ( cls , byte_string ) : model = wrapper . MjModel . from_byte_string ( byte_string ) return cls . from_model ( model )