tcp - binary coded decimals (BCD) put into a byte in C# -


I am working on implementing a protocol, to put me two values ​​in a byte of 0 to 160 Says. I believe, because it does not specify what kind of BCD wants, that I will put one digit in the lower beak and the other decimal will be added to the beak. I mean 1 byte meets a two-digit decimal. But how would any big value fit into a byte? For example 160? Perhaps this is my experience of "dense packed decimal" with a BCD in a telecommunication CDR framework. As you say, where 99 is the most decimal that can be encoded into a byte. But a quick Wikipedia search changed the DPD.


Comments

Popular posts from this blog

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -