Whisperstream Research Group - SerialComm GSM SDK Documentation

PDUTypeBase.GetBit Method 

Gets the bits specified from the pdu byte

protected byte GetBit(
   byte mask,
   int rightShift
);

Parameters

mask
the mask for the bits we're getting
rightShift
the number of places to shift the bits into the lcd of the output byte

Return Value

a byte where the requested bits are the lcd (lowest common denominator)

See Also

PDUTypeBase Class | Whisperstream.SerialComm.Framework.SMS Namespace