コード例 #1
0
        public void Deserialize(BEReader br)
        {
            Header.Deserialize(br);
            Payload = CreateFromPayloadType(Header.PayloadType);

            byte[]   buf           = br.ReadToEnd();
            LEReader payloadReader = new LEReader(buf);

            Payload.Deserialize(payloadReader);
        }
コード例 #2
0
        public void Deserialize(BEReader br)
        {
            Header.Deserialize(br);
            Payload = CreateFromPayloadType(Header.PayloadType);

            byte[]       buf           = br.ReadToEnd();
            BinaryReader payloadReader = BinaryExtensions.ReaderFromBytes(buf);

            Payload.Deserialize(payloadReader);
        }
コード例 #3
0
 public void DeserializeData(ISerializableLE payloadType)
 {
     Data = payloadType;
     Data.Deserialize(BinaryExtensions.ReaderFromBytes(RawData));
 }
コード例 #4
0
 public void DeserializeData(ISerializableLE payloadType)
 {
     Data = payloadType;
     Data.Deserialize(new LEReader(RawData));
 }
コード例 #5
0
 public void Deserialize(BinaryReader br)
 {
     Header.Deserialize(br);
     Payload = CreateFromControlOpCode(Header.OpCode);
     Payload.Deserialize(br);
 }
コード例 #6
0
 public void Deserialize(LEReader br)
 {
     Type = (ChannelControlType)br.ReadUInt32();
     Data = CreateFromControlType(Type);
     Data.Deserialize(br);
 }