C# 클래스 SharpTune.RomMod.Blob

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

공개 메소드들

메소드 설명
AddRecord ( IEnumerable content ) : void

Add the given content to the blob.

Blob ( uint startAddress, IEnumerable content ) : System

Create a new blob using the given start address and content.

CloneWithNewStartAddress ( uint newStartAddress ) : Blob
GetDataString ( ) : string
ToString ( ) : string

Describe the blob in human terms.

TryGetByte ( byte &result, int &offset ) : bool

Try to get a byte from the blob at the given offset. If successful, increment the offset.

TryGetUInt16 ( UInt16 &result, int &offset ) : bool

Try to get a unsigned short from the blob at the given offset. If successful, incrmenet offset

TryGetUInt32 ( uint &result, int &offset ) : bool

Try to get an unsigned 32-bit integer from the blob at the given offset. If successful, increment the offset.

메소드 상세

AddRecord() 공개 메소드

Add the given content to the blob.
public AddRecord ( IEnumerable content ) : void
content IEnumerable
리턴 void

Blob() 공개 메소드

Create a new blob using the given start address and content.
public Blob ( uint startAddress, IEnumerable content ) : System
startAddress uint
content IEnumerable
리턴 System

CloneWithNewStartAddress() 공개 메소드

public CloneWithNewStartAddress ( uint newStartAddress ) : Blob
newStartAddress uint
리턴 Blob

GetDataString() 공개 메소드

public GetDataString ( ) : string
리턴 string

ToString() 공개 메소드

Describe the blob in human terms.
public ToString ( ) : string
리턴 string

TryGetByte() 공개 메소드

Try to get a byte from the blob at the given offset. If successful, increment the offset.
public TryGetByte ( byte &result, int &offset ) : bool
result byte
offset int
리턴 bool

TryGetUInt16() 공개 메소드

Try to get a unsigned short from the blob at the given offset. If successful, incrmenet offset
public TryGetUInt16 ( UInt16 &result, int &offset ) : bool
result System.UInt16
offset int
리턴 bool

TryGetUInt32() 공개 메소드

Try to get an unsigned 32-bit integer from the blob at the given offset. If successful, increment the offset.
public TryGetUInt32 ( uint &result, int &offset ) : bool
result uint
offset int
리턴 bool