private void _parse() { _itemCount = new LengthEncoded(m_io, this, m_root); _items = new List <DataAccessResult>((int)(ItemCount.Value)); for (var i = 0; i < ItemCount.Value; i++) { _items.Add(new DataAccessResult(m_io, this, m_root)); } }
private void _parse() { _itemCount = new LengthEncoded(m_io, this, m_root); _items = new List <CosemAttributeDescriptorWithSelection>((int)(ItemCount.Value)); for (var i = 0; i < ItemCount.Value; i++) { _items.Add(new CosemAttributeDescriptorWithSelection(m_io, this, m_root)); } }
private void _parse() { _length = new LengthEncoded(m_io, this, m_root); _value = new List <byte>((int)(Length.Value)); for (var i = 0; i < Length.Value; i++) { _value.Add(m_io.ReadU1()); } }
private void _parse() { _length = new LengthEncoded(m_io, this, m_root); _value = System.Text.Encoding.GetEncoding("ascii").GetString(m_io.ReadBytes(Length.Value)); }
private void _parse() { _length = new LengthEncoded(m_io, this, m_root); _value = m_io.ReadBytes(Length.Value); }