메소드 | 설명 | |
---|---|---|
And ( |
||
BitArray ( |
||
BitArray ( bool values ) : System.Diagnostics | ||
BitArray ( byte bytes ) : System.Diagnostics | ||
BitArray ( int length ) : System.Diagnostics | ||
BitArray ( int length, bool defaultValue ) : System.Diagnostics | ||
Clone ( ) : object | ||
CopyTo ( Array array, int index ) : void | ||
Get ( int index ) : bool | ||
GetEnumerator ( ) : IEnumerator | ||
Not ( ) : |
||
Or ( |
||
Set ( int index, bool value ) : void | ||
SetAll ( bool value ) : void | ||
Xor ( |
||
this ( int index ) : bool |
메소드 | 설명 | |
---|---|---|
BitArray ( ) : System.Diagnostics | ||
GetArrayLength ( int n, int div ) : int |
Used for conversion between different representations of bit array. Returns (n+(div-1))/div, rearranged to avoid arithmetic overflow. For example, in the bit to int case, the straightforward calc would be (n+31)/32, but that would cause overflow. So instead it's rearranged to ((n-1)/32) + 1, with special casing for 0. Usage: GetArrayLength(77, BitsPerInt32): returns how many ints must be allocated to store 77 bits.
|
public BitArray ( |
||
bits | ||
리턴 | System.Diagnostics |
public BitArray ( bool values ) : System.Diagnostics | ||
values | bool | |
리턴 | System.Diagnostics |
public BitArray ( byte bytes ) : System.Diagnostics | ||
bytes | byte | |
리턴 | System.Diagnostics |
public BitArray ( int length ) : System.Diagnostics | ||
length | int | |
리턴 | System.Diagnostics |
public BitArray ( int length, bool defaultValue ) : System.Diagnostics | ||
length | int | |
defaultValue | bool | |
리턴 | System.Diagnostics |