コード例 #1
0
 /// <summary>
 /// Deserialise the contents of the EZSP structure. </summary>
 public void Deserialize(EzspDeserializer deserializer)
 {
     _type       = deserializer.DeserializeEmberBindingType();
     _local      = deserializer.DeserializeUInt8();
     _clusterId  = deserializer.DeserializeUInt16();
     _remote     = deserializer.DeserializeUInt8();
     _identifier = deserializer.DeserializeEmberEui64();
     _uint8_t    = deserializer.DeserializeUInt8();
 }
コード例 #2
0
 public void SerializeEmberBindingType(EmberBindingType bindingType)
 {
     _buffer[_length++] = (int)bindingType;
 }
コード例 #3
0
 /// <summary>
 /// The type to set as <see cref="EmberBindingType"/> </summary>
 public void SetType(EmberBindingType type)
 {
     _type = type;
 }