C# 클래스 SwfDotNet.IO.Tags.RecordHeader

RecordHeader object represents swf tag headers.

The Swf format is composed of a series of tagged data blocks. All tag begins with record header informations.

A record header object contains the current tag code and the size of the tag in bytes.

You don't need to instance this object, to construct a tag. Record header management is automatically done on the reading or the writing process of a tag.

파일 보기 프로젝트 열기: bladecoding/SwfExport 1 사용 예제들

공개 메소드들

메소드 설명
ReadData ( BufferedBinaryReader binaryReader ) : void

Reads the data from a binary file

RecordHeader ( ) : System

Creates a new RecordHeader instance.

RecordHeader ( bool longTag ) : System

Creates a new RecordHeader instance.

RecordHeader ( int tag, int length ) : System

Creates a new RecordHeader instance.

RecordHeader ( int tag, int length, bool longTag ) : System

Creates a new RecordHeader instance.

RecordHeader ( int tag, uint length ) : System

Creates a new RecordHeader instance.

WriteTo ( BufferedBinaryWriter w ) : void

Writes binary data to given BinaryWriter.

메소드 상세

ReadData() 공개 메소드

Reads the data from a binary file
public ReadData ( BufferedBinaryReader binaryReader ) : void
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
리턴 void

RecordHeader() 공개 메소드

Creates a new RecordHeader instance.
public RecordHeader ( ) : System
리턴 System

RecordHeader() 공개 메소드

Creates a new RecordHeader instance.
public RecordHeader ( bool longTag ) : System
longTag bool Long tag.
리턴 System

RecordHeader() 공개 메소드

Creates a new RecordHeader instance.
public RecordHeader ( int tag, int length ) : System
tag int Tag code.
length int Length.
리턴 System

RecordHeader() 공개 메소드

Creates a new RecordHeader instance.
public RecordHeader ( int tag, int length, bool longTag ) : System
tag int Tag code.
length int Length.
longTag bool Long tag encoding.
리턴 System

RecordHeader() 공개 메소드

Creates a new RecordHeader instance.
public RecordHeader ( int tag, uint length ) : System
tag int Tag code.
length uint Length.
리턴 System

WriteTo() 공개 메소드

Writes binary data to given BinaryWriter.
public WriteTo ( BufferedBinaryWriter w ) : void
w SwfDotNet.IO.Utils.BufferedBinaryWriter binary writer
리턴 void