Method | Description | |
---|---|---|
BitFlip ( this value, int bitToFlip ) : int |
value의 특정 bit 를 Flip 시킨다.
|
|
BitOff ( this value, int bitToOff ) : int |
value 의 특정 bit를 Off 한다.
|
|
BitOn ( this value, int bitToOn ) : int |
value 의 특정 bit를 On 한다.
|
|
ToBytes ( this bits, int startIndex, int count = Int32.MaxValue ) : byte[] |
BitArray의 Bit 값을 ByteArray로 환산합니다. 이진법을 16진법으로 변경한다는 얘기입니다. (0011 은 0x03)
|
|
ToText ( this bits ) : string |
BitArray의 비트 값을 문자열로 표현합니다. 예:01010011
|
public static BitFlip ( this value, int bitToFlip ) : int | ||
value | this | 대상 값 |
bitToFlip | int | Flip 시킬 bit의 값 |
return | int |
public static BitOff ( this value, int bitToOff ) : int | ||
value | this | 대상 값 |
bitToOff | int | On 시킬 bit의 값 |
return | int |
public static BitOn ( this value, int bitToOn ) : int | ||
value | this | 대상 값 |
bitToOn | int | On 시킬 bit의 값 |
return | int |
public static ToBytes ( this bits, int startIndex, int count = Int32.MaxValue ) : byte[] | ||
bits | this | |
startIndex | int | |
count | int | |
return | byte[] |