Esempio n. 1
0
 private void _read()
 {
     _colon = m_io.ReadBytes(1);
     if (!((KaitaiStream.ByteArrayCompare(Colon, new byte[] { 58 }) == 0)))
     {
         throw new ValidationNotEqualError(new byte[] { 58 }, Colon, M_Io, "/types/php_3_object_contents/seq/0");
     }
     _properties = new CountPrefixedMapping(m_io, this, m_root);
 }
Esempio n. 2
0
 private void _read()
 {
     _colon1 = m_io.ReadBytes(1);
     if (!((KaitaiStream.ByteArrayCompare(Colon1, new byte[] { 58 }) == 0)))
     {
         throw new ValidationNotEqualError(new byte[] { 58 }, Colon1, M_Io, "/types/object_contents/seq/0");
     }
     _className = new LengthPrefixedQuotedString(m_io, this, m_root);
     _colon2    = m_io.ReadBytes(1);
     if (!((KaitaiStream.ByteArrayCompare(Colon2, new byte[] { 58 }) == 0)))
     {
         throw new ValidationNotEqualError(new byte[] { 58 }, Colon2, M_Io, "/types/object_contents/seq/2");
     }
     _properties = new CountPrefixedMapping(m_io, this, m_root);
 }