C# 클래스 AsmResolver.OutputStreamExtensions

Provides extensions for the IBinaryStreamWriter interface.
파일 보기 프로젝트 열기: JerreS/AsmResolver

공개 메소드들

메소드 설명
Align ( this writer, int align ) : void

Aligns the writer to a specified boundary.

GetCompressedSize ( this value ) : uint

Determines the size (in bytes) of an integer when it is compressed.

GetSerStringSize ( this value ) : uint

Determines the size (in bytes) of a string.

WriteAsciiString ( this writer, string value ) : void

Writes an ASCII string to the stream.

WriteBytes ( this writer, byte buffer ) : void

Writes a buffer of data to the stream.

WriteCompressedUInt32 ( this writer, uint value ) : void

Compresses and writes an unsigned integer to the stream.

WriteIndex ( this writer, IndexSize indexSize, uint value ) : void

Writes an index with the specified size to the stream.

WriteSerString ( this writer, string value ) : void

Writes an UTF8 string to the stream.

WriteZeroes ( this writer, int count ) : void

Writes a specified amount of zero bytes to the stream.

메소드 상세

Align() 공개 정적인 메소드

Aligns the writer to a specified boundary.
public static Align ( this writer, int align ) : void
writer this The writer to align.
align int The boundary to use.
리턴 void

GetCompressedSize() 공개 정적인 메소드

Determines the size (in bytes) of an integer when it is compressed.
public static GetCompressedSize ( this value ) : uint
value this The value to get the size from.
리턴 uint

GetSerStringSize() 공개 정적인 메소드

Determines the size (in bytes) of a string.
public static GetSerStringSize ( this value ) : uint
value this The string to get the size from.
리턴 uint

WriteAsciiString() 공개 정적인 메소드

Writes an ASCII string to the stream.
public static WriteAsciiString ( this writer, string value ) : void
writer this The writer to use.
value string The string to write.
리턴 void

WriteBytes() 공개 정적인 메소드

Writes a buffer of data to the stream.
public static WriteBytes ( this writer, byte buffer ) : void
writer this The writer to use.
buffer byte The data to write.
리턴 void

WriteCompressedUInt32() 공개 정적인 메소드

Compresses and writes an unsigned integer to the stream.
public static WriteCompressedUInt32 ( this writer, uint value ) : void
writer this
value uint
리턴 void

WriteIndex() 공개 정적인 메소드

Writes an index with the specified size to the stream.
public static WriteIndex ( this writer, IndexSize indexSize, uint value ) : void
writer this The writer to use.
indexSize IndexSize The size of the index.
value uint The value to write.
리턴 void

WriteSerString() 공개 정적인 메소드

Writes an UTF8 string to the stream.
public static WriteSerString ( this writer, string value ) : void
writer this The writer to use.
value string The string to write.
리턴 void

WriteZeroes() 공개 정적인 메소드

Writes a specified amount of zero bytes to the stream.
public static WriteZeroes ( this writer, int count ) : void
writer this The writer to use.
count int The amount of zeroes to write.
리턴 void