Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
GSF
BinaryCodedDecimal
Decode
GSF.BinaryCodedDecimal.Decode C# (CSharp) Method
BinaryCodedDecimal Class Documentation
Show file
Open project: GridProtectionAlliance/gsf
Decode()
private
method
private
Decode
(
byte
bcd
) :
byte
bcd
byte
return
byte
public static byte Decode(byte bcd) { return (byte)(bcd.HighNibble() * TenP1 + bcd.LowNibble()); }
Same methods
BinaryCodedDecimal::
Decode
(
uint
bcd
) :
uint
BinaryCodedDecimal::
Decode
(
ulong
bcd
) :
ulong
BinaryCodedDecimal::
Decode
(
ushort
bcd
) :
ushort
BinaryCodedDecimal
Decode
Encode