Table of Contents

Class BitArrayExtensions

Namespace
BSGameLib.Core
Assembly
BSGameLib.Core.dll

Extensions for BitArray.

public static class BitArrayExtensions
Inheritance
BitArrayExtensions
Inherited Members

Methods

Slice(BitArray, int, int)

Returns a new BitArray with up to length bits of source, starting at offset.

public static BitArray Slice(this BitArray source, int offset, int length)

Parameters

source BitArray
offset int
length int

Returns

BitArray

Remarks

A range that runs past the end of the source gives fewer bits; it does not throw.