Click or drag to resize

BitsCopyBits Method (Byte, Int32, Int32, Int32)

Like Array.Copy, except indices are in units of bits. Returns new byte array.

Namespace:  Demo3D.Utilities
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 10.0.7983.28765
Syntax
C#
public static byte[] CopyBits(
	byte[] source,
	int sourceBitIndex,
	int destBitIndex,
	int numBits
)

Parameters

source
Type: SystemByte

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

sourceBitIndex
Type: SystemInt32

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

destBitIndex
Type: SystemInt32

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

numBits
Type: SystemInt32

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

Return Value

Type: Byte

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

See Also