Examples of UINT32


Examples of tv.porst.splib.binaryparser.UINT32

   *
   * @throws SWFParserException Thrown if parsing the tag failed.
   */
  public static DoABCTag parse(final RecordHeader header, final SWFBinaryParser parser) throws SWFParserException {

    final UINT32 flags = parseUINT32(parser, 0x00006, "DoABC::Flags");
    final AsciiString name = parseString(parser, 0x00006, "DoABC::Name");

    final AS3Data abcData = AS3DataParser.parse(parser, "DoABC::ABCData");

    return new DoABCTag(header, flags, name, abcData);
View Full Code Here

Examples of tv.porst.splib.binaryparser.UINT32

   * @throws SWFParserException Thrown if parsing the tag failed.
   */
  public static DefineBinaryDataTag parse(final RecordHeader header, final SWFBinaryParser parser) throws SWFParserException {

    final UINT16 tag = parseUINT16(parser, 0x00006, "DefineBinaryData::Tag");
    final UINT32 reserved = parseUINT32(parser, 0x00006, "DefineBinaryData::Reserved");
    final ByteArray data = parseByteArray(parser, header.getNormalizedLength() - 2 - 4, 0x00006, "DefineBinaryData::Data");

    return new DefineBinaryDataTag(header, tag, reserved, data);
  }
View Full Code Here

Examples of tv.porst.splib.binaryparser.UINT32

  public static DefineMorphShapeTag parse(final RecordHeader header, final SWFBinaryParser parser) throws SWFParserException {

    final UINT16 characterId = parseUINT16(parser, 0x00006, "DefineMorphShape::CharacterId");
    final Rect startBounds = RectParser.parse(parser, "DefineMorphShape::StartBounds");
    final Rect endBounds = RectParser.parse(parser, "DefineMorphShape::EndBounds");
    final UINT32 offset = parseUINT32(parser, 0x00006, "DefineMorphShape::Offset");
    final MorphFillStyleArray morphFillStyles = MorphFillStyleArrayParser.parse(parser, "DefineMorphShape::MorphFillStyles");
    final MorphLineStyleArray morphLineStyles = MorphLineStyleArrayParser.parse(parser, "DefineMorphShape::MorphLineStyles");
    final Shape startEdges = ShapeParser.parse(parser, "DefineMorphShape::StartEdges");
    final Shape endEdges = ShapeParser.parse(parser, "DefineMorphShape::EndEdges");
View Full Code Here

Examples of tv.porst.splib.binaryparser.UINT32

import tv.porst.splib.binaryparser.UINT8;

public class PushedUnknown extends PushedValue<UINT32> {

  public PushedUnknown(final UINT8 type) {
    super(type, new UINT32(type.getBitPosition(), 0));
  }
View Full Code Here

Examples of tv.porst.splib.binaryparser.UINT32

   *
   * @throws SWFParserException Thrown if the structure could not be parsed.
   */
  public static SoundEnvelope parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {

    final UINT32 pos44 = parseUINT32(parser, 0x00006, fieldName + "::Pos44");
    final UINT16 leftLevel = parseUINT16(parser, 0x00006, fieldName + "LeftLevel");
    final UINT16 rightLevel = parseUINT16(parser, 0x00006, fieldName + "RightLevel");

    return new SoundEnvelope(pos44, leftLevel, rightLevel);
  }
View Full Code Here

Examples of tv.porst.splib.binaryparser.UINT32

*/
public final class AS3Hasnext2Parser {

  public static AS3Hasnext2 parse(final SWFBinaryParser parser, final String fieldName) throws SWFParserException {
    final UINT8 opcode = parseUINT8(parser, 0x00006, fieldName + "::opcode");
    final UINT32 objectReg = parseUINT32(parser, 0x00006, fieldName + "::object_reg");
    final UINT32 indexReg = parseUINT32(parser, 0x00006, fieldName + "::index_reg");

    return new AS3Hasnext2(opcode, objectReg, indexReg);
  }
View Full Code Here

Examples of tv.porst.splib.binaryparser.UINT32

import tv.porst.splib.binaryparser.UINT8;

public class PushedNull extends PushedValue<UINT32> {

  public PushedNull(final UINT8 type) {
    super(type, new UINT32(type.getBitPosition(), 0));
  }
View Full Code Here

Examples of tv.porst.splib.binaryparser.UINT32

import tv.porst.splib.binaryparser.UINT8;

public class PushedUndefined extends PushedValue<UINT32> {

  public PushedUndefined(final UINT8 type) {
    super(type, new UINT32(type.getBitPosition(), 0));
  }
View Full Code Here

Examples of tv.porst.splib.binaryparser.UINT32

    final Flag hasEnvelope = parseFlag(parser, 0x00006, fieldName + "::HasMultiple");
    final Flag hasLoops = parseFlag(parser, 0x00006, fieldName + "::HasLoops");
    final Flag hasOutPoint= parseFlag(parser, 0x00006, fieldName + "::HasOutPoint");
    final Flag hasInPoint = parseFlag(parser, 0x00006, fieldName + "::HasInPoint");

    final UINT32 inPoint = parseUINT32If(parser, 0x00006, hasInPoint, fieldName + "::InPoint");
    final UINT32 outPoint = parseUINT32If(parser, 0x00006, hasOutPoint, fieldName + "::OutPoint");
    final UINT16 loopCount = parseUINT16If(parser, 0x000006, hasLoops, fieldName + "::LoopCount");
    final UINT8 envPoints = parseUINT8If(parser, 0x00006, hasEnvelope, fieldName + "::EnvPoints");

    final List<SoundEnvelope> envelopeRecords = new ArrayList<SoundEnvelope>();
View Full Code Here

Examples of tv.porst.splib.binaryparser.UINT32

    final UINT8 signature2 = parser.readUInt8();
    final UINT8 signature3 = parser.readUInt8();

    final UINT8 version = parser.readUInt8();

    final UINT32 fileLength = parser.readUInt32();

    final Rect frameSize = RectParser.parse(parser, "SWFHeader::FrameSize");

    final UINT16 frameRate = parser.readUInt16();
    final UINT16 frameCount = parser.readUInt16();
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.