Click or drag to resize
Akka.NETBitArrayHelpersToBytes Method
Converts a BitArray into an array of Byte

Namespace:  Akka.Util
Assembly:  Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public static byte[] ToBytes(
	this BitArray arr
)

Parameters

arr
Type: System.CollectionsBitArray
TBD

Return Value

Type: Byte
TBD

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BitArray. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentException This exception is thrown if there aren't enough bits in the given arr to make a byte.
See Also