• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class BitManipulation

Provides helper methods for bit manipulation operations.

Inheritance
object
BitManipulation
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Metafile
Assembly: DRIT.Drawing.dll
Syntax
public static class BitManipulation

Methods

GetBits(byte, int, int)

Extracts a specified number of bits from a byte value.

Declaration
public static int GetBits(byte value, int start, int length)
Parameters
Type Name Description
byte value

The source byte to extract bits from.

int start

The zero-based starting bit position.

int length

The number of bits to extract.

Returns
Type Description
int

The extracted bit field value.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX