NurApiBitLenToByteLen Method

Get required byte length for given number of bits.

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public static int BitLenToByteLen(
	int nrBits
)

Parameters

nrBits  Int32
Number of bit in a buffer.

Return Value

Int32
Number of bytes required for the bit buffer

See Also