Examples of EncodedU30


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

*/
public final class AS3SetlocalParser {

  public static AS3Setlocal parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {
    final UINT8 opcode = parseUINT8(parser, 0x00006, fieldName + "::opcode");
    final EncodedU30 index = EncodedU30Parser.parse(parser, fieldName + "::index");

    return new AS3Setlocal(opcode, index);
  }
View Full Code Here

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

public final class AS3DebugParser {

  public static AS3Debug parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {
    final UINT8 opcode = parseUINT8(parser, 0x00006, fieldName + "::opcode");
    final UINT8 debugType = parseUINT8(parser, 0x00006, fieldName + "::debug_type");
    final EncodedU30 index = EncodedU30Parser.parse(parser, fieldName + "::index");
    final UINT8 reg = parseUINT8(parser, 0x00006, fieldName + "::reg");
    final EncodedU30 extra = EncodedU30Parser.parse(parser, fieldName + "::extra");

    return new AS3Debug(opcode, debugType, index, reg, extra);
  }
View Full Code Here

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

public final class AS3ConstructParser {

  public static AS3Construct parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {

    final UINT8 opcode = parseUINT8(parser, 0x00006, fieldName + "::opcode");
    final EncodedU30 argCount = EncodedU30Parser.parse(parser, fieldName + "::arg_count");

    return new AS3Construct(opcode, argCount);
  }
View Full Code Here

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

*/
public final class AS3DeclocalParser {

  public static AS3Declocal parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {
    final UINT8 opcode = parseUINT8(parser, 0x00006, fieldName + "::opcode");
    final EncodedU30 index = EncodedU30Parser.parse(parser, fieldName + "::index");

    return new AS3Declocal(opcode, index);
  }
View Full Code Here

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

  public static AS3Lookupswitch parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {

    final UINT8 opcode = parseUINT8(parser, 0x00006, fieldName + "::opcode");
    final INT24 defaultOffset = parseINT24(parser, 0x00006, fieldName + "::default_offset");
    final EncodedU30 caseCounts = EncodedU30Parser.parse(parser, fieldName + "::case_counts");

    final List<INT24> caseOffsets = new ArrayList<INT24>();

    for (int i=0;i<caseCounts.value()+1;i++) {
      caseOffsets.add(parseINT24(parser, 0x00006, fieldName + String.format("::case_offsets[%d]", i)));
    }

    return new AS3Lookupswitch(opcode, defaultOffset, caseCounts, new EncodedS24List(caseOffsets));
  }
View Full Code Here

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

*/
public final class AS3FindpropstrictParser {

  public static AS3Findpropstrict parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {
    final UINT8 opcode = parseUINT8(parser, 0x00006, fieldName + "::opcode");
    final EncodedU30 index = EncodedU30Parser.parse(parser, fieldName + "::index");

    return new AS3Findpropstrict(opcode, index);
  }
View Full Code Here

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

*/
public final class AS3SetglobalslotParser {

  public static AS3Setglobalslot parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {
    final UINT8 opcode = parseUINT8(parser, 0x00006, fieldName + "::opcode");
    final EncodedU30 slotIndex = EncodedU30Parser.parse(parser, fieldName + "::slot_index");

    return new AS3Setglobalslot(opcode, slotIndex);
  }
View Full Code Here

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

*/
public final class AS3KillParser {

  public static AS3Kill parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {
    final UINT8 opcode = parseUINT8(parser, 0x00006, fieldName + "::opcode");
    final EncodedU30 index = EncodedU30Parser.parse(parser, fieldName + "::index");

    return new AS3Kill(opcode, index);
  }
View Full Code Here

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

*/
public final class AS3DebugfileParser {

  public static AS3Debugfile parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {
    final UINT8 opcode = parseUINT8(parser, 0x00006, fieldName + "::opcode");
    final EncodedU30 index = EncodedU30Parser.parse(parser, fieldName + "::index");

    return new AS3Debugfile(opcode, index);
  }
View Full Code Here

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

public final class AS3CallmethodParser {

  public static AS3Callmethod parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {

    final UINT8 opcode = parseUINT8(parser, 0x00006, fieldName + "::opcode");
    final EncodedU30 index = EncodedU30Parser.parse(parser, fieldName + "::index");
    final EncodedU30 argCount = EncodedU30Parser.parse(parser, fieldName + "::arg_count");

    return new AS3Callmethod(opcode, index, argCount);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.