public void Deserialize(BEReader br) { Header.Deserialize(br); Payload = CreateFromPayloadType(Header.PayloadType); byte[] buf = br.ReadToEnd(); LEReader payloadReader = new LEReader(buf); Payload.Deserialize(payloadReader); }
public void Deserialize(BEReader br) { Header.Deserialize(br); Payload = CreateFromPayloadType(Header.PayloadType); byte[] buf = br.ReadToEnd(); BinaryReader payloadReader = BinaryExtensions.ReaderFromBytes(buf); Payload.Deserialize(payloadReader); }
public void DeserializeData(ISerializableLE payloadType) { Data = payloadType; Data.Deserialize(BinaryExtensions.ReaderFromBytes(RawData)); }
public void DeserializeData(ISerializableLE payloadType) { Data = payloadType; Data.Deserialize(new LEReader(RawData)); }
public void Deserialize(BinaryReader br) { Header.Deserialize(br); Payload = CreateFromControlOpCode(Header.OpCode); Payload.Deserialize(br); }
public void Deserialize(LEReader br) { Type = (ChannelControlType)br.ReadUInt32(); Data = CreateFromControlType(Type); Data.Deserialize(br); }