Bits Class |
[Missing <summary> documentation for "T:Demo3D.Utilities.Bits"]
Namespace: Demo3D.Utilities
public static class Bits
The Bits type exposes the following members.
| Name | Description | |
|---|---|---|
| BAnd(Int32, Int32) | ||
| BAnd(Int64, Int64) | ||
| BitArrayToByteArrayLength(Int32, Int32) |
Return the length of the byte array that includes the entire bit range, assuming that the bits are aligned
such that bit 0 would be on a byte boundary.
| |
| BitArrayToByteArrayLength(Int64, Int32) |
Return the length of the byte array that includes the entire bit range, assuming that the bits are aligned
such that bit 0 would be on a byte boundary.
| |
| BitArrayToWordArrayLength(Int32, Int32, Int32) |
Return the length of the word array that includes the entire bit range, assuming that the bits are aligned
such that bit 0 would be on a word boundary.
| |
| BitArrayToWordArrayLength(Int64, Int32, Int32) |
Return the length of the word array that includes the entire bit range, assuming that the bits are aligned
such that bit 0 would be on a word boundary.
| |
| BitShiftRight(Int32, Int32) | ||
| BitShiftRight(Int64, Int32) | ||
| BOr(Int32, Int32) | ||
| BOr(Int64, Int64) | ||
| BXor(Int32, Int32) | ||
| BXor(Int64, Int64) | ||
| Clear(Int32, Int32) | ||
| Clear(Int64, Int32) | ||
| CompareBits | ||
| CompareBytes | ||
| Complement(Int32) | ||
| Complement(Int64) | ||
| CopyBits(Byte, Int32, Int32, Int32) |
Like Array.Copy, except indices are in units of bits. Returns new byte array.
| |
| CopyBits(Byte, Int32, Byte, Int32, Int32) |
Like Array.Copy, except indices are in units of bits.
| |
| CountBits |
Return number of bits set in a 64 bit unsigned integer.
| |
| ReadBits(Int32, Byte, Int32, Int32, BitsReadBit, BitsReadWords, Int32) |
Read bits from external source into bit array.
| |
| ReadBits(Int32, Byte, Int32, Int32, BitsReadWordBits, BitsReadWords, Int32) |
Read bits from external source into bit array.
| |
| Set(Int32, Int32) | ||
| Set(Int64, Int32) | ||
| ShiftLeft(Int32, Int32) | ||
| ShiftLeft(Int64, Int32) | ||
| ShiftRight(Int32, Int32) | ||
| ShiftRight(Int64, Int32) | ||
| Test(Int32, Int32) | ||
| Test(Int64, Int32) | ||
| ToULong |
Convert a signed 32-bit integer to an unsigned 64 bit integer without extending the sign.
| |
| WriteBits(Byte, Int32, Int32, Int32, BitsWriteBit, BitsWriteWords, Int32) |
Write bits from bit array to external source.
| |
| WriteBits(Byte, Int32, Int32, Int32, BitsWriteWordBits, BitsWriteWords, Int32) |
Write bits from bit array to external source.
|