get_bit


Description:

public bool get_bit (char byte_value, size_t position)

Gets the bit value at the given position within the byte.

Parameters:

byte_value

the byte

position

the position in the byte to retrieve the bit value

Returns:

the bit value at the given position within the byte


Namespace: Catalyst.ByteUtils
Package: catalyst-1