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/custom_serialized_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/custom_serialized_object_contents/seq/2"); } _lenDataDec = System.Text.Encoding.GetEncoding("ASCII").GetString(m_io.ReadBytesTerm(58, false, true, true)); _openingBrace = m_io.ReadBytes(1); if (!((KaitaiStream.ByteArrayCompare(OpeningBrace, new byte[] { 123 }) == 0))) { throw new ValidationNotEqualError(new byte[] { 123 }, OpeningBrace, M_Io, "/types/custom_serialized_object_contents/seq/4"); } _data = m_io.ReadBytes(LenData); _closingQuote = m_io.ReadBytes(1); if (!((KaitaiStream.ByteArrayCompare(ClosingQuote, new byte[] { 125 }) == 0))) { throw new ValidationNotEqualError(new byte[] { 125 }, ClosingQuote, M_Io, "/types/custom_serialized_object_contents/seq/6"); } }
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/string_contents/seq/0"); } _string = new LengthPrefixedQuotedString(m_io, this, m_root); _semicolon = m_io.ReadBytes(1); if (!((KaitaiStream.ByteArrayCompare(Semicolon, new byte[] { 59 }) == 0))) { throw new ValidationNotEqualError(new byte[] { 59 }, Semicolon, M_Io, "/types/string_contents/seq/2"); } }
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); }