Click or drag to resize

BitsBitArrayToByteArrayLength Method (Int32, Int32)

Return the length of the byte array that includes the entire bit range, assuming that the bits are aligned such that bit 0 would be on a byte boundary.

Namespace:  Demo3D.Utilities
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 10.0.7983.28765
Syntax
C#
public static int BitArrayToByteArrayLength(
	int startBit,
	int numBits
)

Parameters

startBit
Type: SystemInt32

[Missing <param name="startBit"/> documentation for "M:Demo3D.Utilities.Bits.BitArrayToByteArrayLength(System.Int32,System.Int32)"]

numBits
Type: SystemInt32

[Missing <param name="numBits"/> documentation for "M:Demo3D.Utilities.Bits.BitArrayToByteArrayLength(System.Int32,System.Int32)"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:Demo3D.Utilities.Bits.BitArrayToByteArrayLength(System.Int32,System.Int32)"]

See Also