Bit Class Reference

List of all members.


Detailed Description

Utilities for bit operations on an array.

Version:
0.00, 27 August 2000
Author:
DS

Static Public Member Functions

static void arrayWriteBit (int state, int index, int offset, byte[] buf)
 Write the bit state in a byte array.
static int arrayReadBit (int index, int offset, byte[] buf)
 Read a bit state in a byte array.

Member Function Documentation

static void arrayWriteBit ( int  state,
int  index,
int  offset,
byte[]  buf 
) [static]

Write the bit state in a byte array.

Parameters:
state new state of the bit 1, 0
index bit index into byte array
offset byte offset into byte array to start
buf byte array to manipulate

static int arrayReadBit ( int  index,
int  offset,
byte[]  buf 
) [static]

Read a bit state in a byte array.

Parameters:
index bit index into byte array
offset byte offset into byte array to start
buf byte array to read from
Returns:
bit state 1 or 0


The documentation for this class was generated from the following file:

Generated on Thu Aug 28 15:42:37 2008 for 1-Wire API for .NET by  doxygen 1.5.6