Click or drag to resize

BinaryCodedDecimalEncode(Byte) Method

Gets binary-coded decimal from binary value.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
Syntax
public static byte Encode(
	byte value
)
View Source

Parameters

value  Byte
Binary value.

Return Value

Byte
Binary-coded decimal representation of standard binary value.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionA binary-coded decimal has a maximum value of 99 for a single byte.
See Also