C# 클래스 CSharpUtils.BitUtils

파일 보기 프로젝트 열기: soywiz/csharputils

공개 메소드들

메소드 설명
ExtractUnsignedScaled ( uint Value, int Offset, int Count, float Scale = 1.0f ) : float

XorBytes ( ) : byte[]

비공개 메소드들

메소드 설명
CreateMask ( int Size ) : uint
Extract ( uint InitialValue, int Offset, int Count ) : uint
ExtractBool ( uint InitialValue, int Offset ) : bool
ExtractScaled ( uint InitialValue, int Offset, int Count, int Scale ) : uint
ExtractSigned ( uint InitialValue, int Offset, int Count ) : int
GetFirstBit1 ( uint v ) : int
Insert ( uint InitialValue, int Offset, int Count, uint ValueToInsert ) : uint
Insert ( uint &Value, int Offset, int Count, uint ValueToInsert ) : void
InsertScaled ( uint InitialValue, int Offset, int Count, uint ValueToInsert, uint MaxValue ) : uint
InsertScaled ( uint &InitialValue, int Offset, int Count, uint ValueToInsert, uint MaxValue ) : void
InsertWithMask ( uint InitialValue, int Offset, uint Mask, uint ValueToInsert ) : uint

메소드 상세

ExtractUnsignedScaled() 공개 정적인 메소드

public static ExtractUnsignedScaled ( uint Value, int Offset, int Count, float Scale = 1.0f ) : float
Value uint
Offset int
Count int
Scale float
리턴 float

XorBytes() 공개 정적인 메소드

public static XorBytes ( ) : byte[]
리턴 byte[]