Converts a byte to a boolean.

Namespace: Mint.MintChip.Core
Assembly: Mint.MintChip.Core (in Mint.MintChip.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
bool ToBoolean(
	byte[] data,
	int offset
)
Visual Basic
Function ToBoolean ( _
	data As Byte(), _
	offset As Integer _
) As Boolean
Visual C++
bool ToBoolean(
	array<unsigned char>^ data, 
	int offset
)

Parameters

data
Type: array<System..::..Byte>[]()[][]
byte array to convert
offset
Type: System..::..Int32
zero based start position in the data array

Return Value

value converted from the data array at the offset position

See Also