C# Class Mosa.Compiler.Framework.Platform.OpcodeEncoder

Show file Open project: tgiphil/MOSA-Project Class Usage Examples

Public Methods

Method Description
Append16Bits ( ushort value ) : OpcodeEncoder
Append2Bits ( int value ) : OpcodeEncoder
Append32Bits ( uint value ) : OpcodeEncoder
Append3Bits ( int value ) : OpcodeEncoder
Append8Bits ( byte value ) : OpcodeEncoder
AppendBit ( bool set ) : OpcodeEncoder
AppendBit ( int value ) : OpcodeEncoder
AppendBit ( uint value ) : OpcodeEncoder
AppendBits ( int value, int size ) : OpcodeEncoder
AppendBits ( uint value, int size ) : OpcodeEncoder
AppendByte ( byte value ) : OpcodeEncoder
AppendByteValue ( byte value ) : OpcodeEncoder
AppendConditionalIntegerValue ( bool include, uint value ) : OpcodeEncoder
AppendIntegerValue ( uint value ) : OpcodeEncoder
AppendNibble ( int value ) : OpcodeEncoder
AppendShortValue ( ushort value ) : OpcodeEncoder
GetByte ( int index ) : byte
SetBit ( int offset, bool value ) : OpcodeEncoder
SetLength ( int bits ) : OpcodeEncoder
WriteTo ( Stream writer ) : void

Method Details

Append16Bits() public method

public Append16Bits ( ushort value ) : OpcodeEncoder
value ushort
return OpcodeEncoder

Append2Bits() public method

public Append2Bits ( int value ) : OpcodeEncoder
value int
return OpcodeEncoder

Append32Bits() public method

public Append32Bits ( uint value ) : OpcodeEncoder
value uint
return OpcodeEncoder

Append3Bits() public method

public Append3Bits ( int value ) : OpcodeEncoder
value int
return OpcodeEncoder

Append8Bits() public method

public Append8Bits ( byte value ) : OpcodeEncoder
value byte
return OpcodeEncoder

AppendBit() public method

public AppendBit ( bool set ) : OpcodeEncoder
set bool
return OpcodeEncoder

AppendBit() public method

public AppendBit ( int value ) : OpcodeEncoder
value int
return OpcodeEncoder

AppendBit() public method

public AppendBit ( uint value ) : OpcodeEncoder
value uint
return OpcodeEncoder

AppendBits() public method

public AppendBits ( int value, int size ) : OpcodeEncoder
value int
size int
return OpcodeEncoder

AppendBits() public method

public AppendBits ( uint value, int size ) : OpcodeEncoder
value uint
size int
return OpcodeEncoder

AppendByte() public method

public AppendByte ( byte value ) : OpcodeEncoder
value byte
return OpcodeEncoder

AppendByteValue() public method

public AppendByteValue ( byte value ) : OpcodeEncoder
value byte
return OpcodeEncoder

AppendConditionalIntegerValue() public method

public AppendConditionalIntegerValue ( bool include, uint value ) : OpcodeEncoder
include bool
value uint
return OpcodeEncoder

AppendIntegerValue() public method

public AppendIntegerValue ( uint value ) : OpcodeEncoder
value uint
return OpcodeEncoder

AppendNibble() public method

public AppendNibble ( int value ) : OpcodeEncoder
value int
return OpcodeEncoder

AppendShortValue() public method

public AppendShortValue ( ushort value ) : OpcodeEncoder
value ushort
return OpcodeEncoder

GetByte() public method

public GetByte ( int index ) : byte
index int
return byte

SetBit() public method

public SetBit ( int offset, bool value ) : OpcodeEncoder
offset int
value bool
return OpcodeEncoder

SetLength() public method

public SetLength ( int bits ) : OpcodeEncoder
bits int
return OpcodeEncoder

WriteTo() public method

public WriteTo ( Stream writer ) : void
writer System.IO.Stream
return void