C# 클래스 Mosa.ClassLib.BinaryFormat

Binary Formatter (Little Endian)
파일 보기 프로젝트 열기: tgiphil/MOSA-Project 1 사용 예제들

공개 메소드들

메소드 설명
BinaryFormat ( byte data ) : System.Text

Initializes a new instance of the BinaryFormat struct.

BinaryFormat ( uint length ) : System.Text

Initializes a new instance of the BinaryFormat struct.

Fill ( uint offset, byte value, uint length ) : void

Fills the specified offset.

GetByte ( uint offset ) : byte

Gets the byte.

GetBytes ( uint offset, uint length ) : byte[]

Gets the bytes.

GetChar ( uint offset ) : char

Gets the char.

GetChars ( uint offset, uint length ) : char[]

Gets the chars.

GetString ( uint offset, uint length ) : string

Gets the string.

GetUInt ( uint offset ) : uint

Gets the usigned int.

GetULong ( uint offset ) : ulong

Gets the unsigned long.

GetUShort ( uint offset ) : ushort

Gets the unsigned short.

SetByte ( uint offset, byte value ) : void

Sets the byte.

SetBytes ( uint offset, byte value ) : void

Sets the bytes.

SetBytes ( uint offset, byte value, uint start, uint length ) : void

Sets the bytes.

SetChar ( uint offset, char value ) : void

Sets the char.

SetChars ( uint offset, char value ) : void

Sets the chars.

SetString ( uint offset, string value ) : void

Sets the string.

SetString ( uint offset, string value, uint length ) : void

Sets the string.

SetUInt ( uint offset, uint value ) : void

Sets the unsigned int.

SetUIntReversed ( uint offset, uint value ) : void

Sets the unsigned int reversed.

SetULong ( uint offset, ulong value ) : void

Sets the unsigned long.

SetULong ( ulong offset, ulong value ) : void

Sets the unsigned long.

SetULongReversed ( uint offset, ulong value ) : void

Sets the unsigned long reversed.

SetUShort ( uint offset, ushort value ) : void

Sets the unsigned short.

SetUShortReversed ( uint offset, ushort value ) : void

Sets the unsigned short reversed.

this ( int index ) : byte

Gets or sets the System.Byte at the specified index.

메소드 상세

BinaryFormat() 공개 메소드

Initializes a new instance of the BinaryFormat struct.
public BinaryFormat ( byte data ) : System.Text
data byte The data.
리턴 System.Text

BinaryFormat() 공개 메소드

Initializes a new instance of the BinaryFormat struct.
public BinaryFormat ( uint length ) : System.Text
length uint The length.
리턴 System.Text

Fill() 공개 메소드

Fills the specified offset.
public Fill ( uint offset, byte value, uint length ) : void
offset uint The offset.
value byte The value.
length uint The length.
리턴 void

GetByte() 공개 메소드

Gets the byte.
public GetByte ( uint offset ) : byte
offset uint The offset.
리턴 byte

GetBytes() 공개 메소드

Gets the bytes.
public GetBytes ( uint offset, uint length ) : byte[]
offset uint The offset.
length uint The length.
리턴 byte[]

GetChar() 공개 메소드

Gets the char.
public GetChar ( uint offset ) : char
offset uint The offset.
리턴 char

GetChars() 공개 메소드

Gets the chars.
public GetChars ( uint offset, uint length ) : char[]
offset uint The offset.
length uint The length.
리턴 char[]

GetString() 공개 메소드

Gets the string.
public GetString ( uint offset, uint length ) : string
offset uint The offset.
length uint The length.
리턴 string

GetUInt() 공개 메소드

Gets the usigned int.
public GetUInt ( uint offset ) : uint
offset uint The offset.
리턴 uint

GetULong() 공개 메소드

Gets the unsigned long.
public GetULong ( uint offset ) : ulong
offset uint The offset.
리턴 ulong

GetUShort() 공개 메소드

Gets the unsigned short.
public GetUShort ( uint offset ) : ushort
offset uint The offset.
리턴 ushort

SetByte() 공개 메소드

Sets the byte.
public SetByte ( uint offset, byte value ) : void
offset uint The offset.
value byte The value.
리턴 void

SetBytes() 공개 메소드

Sets the bytes.
public SetBytes ( uint offset, byte value ) : void
offset uint The offset.
value byte The value.
리턴 void

SetBytes() 공개 메소드

Sets the bytes.
public SetBytes ( uint offset, byte value, uint start, uint length ) : void
offset uint The offset.
value byte The value.
start uint The start.
length uint The length.
리턴 void

SetChar() 공개 메소드

Sets the char.
public SetChar ( uint offset, char value ) : void
offset uint The offset.
value char The value.
리턴 void

SetChars() 공개 메소드

Sets the chars.
public SetChars ( uint offset, char value ) : void
offset uint The offset.
value char The value.
리턴 void

SetString() 공개 메소드

Sets the string.
public SetString ( uint offset, string value ) : void
offset uint The offset.
value string The value.
리턴 void

SetString() 공개 메소드

Sets the string.
public SetString ( uint offset, string value, uint length ) : void
offset uint The offset.
value string The value.
length uint The length.
리턴 void

SetUInt() 공개 메소드

Sets the unsigned int.
public SetUInt ( uint offset, uint value ) : void
offset uint The offset.
value uint The value.
리턴 void

SetUIntReversed() 공개 메소드

Sets the unsigned int reversed.
public SetUIntReversed ( uint offset, uint value ) : void
offset uint The offset.
value uint The value.
리턴 void

SetULong() 공개 메소드

Sets the unsigned long.
public SetULong ( uint offset, ulong value ) : void
offset uint The offset.
value ulong The value.
리턴 void

SetULong() 공개 메소드

Sets the unsigned long.
public SetULong ( ulong offset, ulong value ) : void
offset ulong The offset.
value ulong The value.
리턴 void

SetULongReversed() 공개 메소드

Sets the unsigned long reversed.
public SetULongReversed ( uint offset, ulong value ) : void
offset uint The offset.
value ulong The value.
리턴 void

SetUShort() 공개 메소드

Sets the unsigned short.
public SetUShort ( uint offset, ushort value ) : void
offset uint The offset.
value ushort The value.
리턴 void

SetUShortReversed() 공개 메소드

Sets the unsigned short reversed.
public SetUShortReversed ( uint offset, ushort value ) : void
offset uint The offset.
value ushort The value.
리턴 void

this() 공개 메소드

Gets or sets the System.Byte at the specified index.
public this ( int index ) : byte
index int
리턴 byte