Click or drag to resize

ExtensionsConvertionsToLong Method (Byte)

Returns a long converted from eight bytes.

Namespace:  Cauldron
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static long ToLong(
	this byte[] target
)

Parameters

target
Type: SystemByte
An array of bytes.

Return Value

Type: Int64
A long formed by eight bytes

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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
ArgumentNullExceptiontarget is null
ArgumentExceptiontarget has less than 8 bytes
See Also