Package tv.porst.swfretools.parser.structures

Examples of tv.porst.swfretools.parser.structures.RecordHeader


    final int length = tagCodeAndLength.value() & 0x3F;

    if (length == 0x3F) {
      final INT32 extraLength = SWFParserHelpers.parseINT32(parser, 0x00006, "RecordHeader::Length");
      return new RecordHeader(tagCodeAndLength, extraLength);
    }
    else {
      return new RecordHeader(tagCodeAndLength, null);
    }

  }
View Full Code Here


   */
  private static Tag parseTag(final SWFBinaryParser parser, final int version, final List<ParserError> errors) {

    try {

      final RecordHeader header = parseRecordHeader(parser);

      //      System.out.printf("Parsing at %d [%d:%s]\n", parser.getBytePosition() - header.getHeaderLength() - 8, header.getTagCode(), TagNames.getTagName(header.getTagCode()));

      return parseTag(parser, header, version, errors);

View Full Code Here

TOP

Related Classes of tv.porst.swfretools.parser.structures.RecordHeader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.