Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidgiven/fluxengine
/ decodeUint16
Function
decodeUint16
arch/ibm/encoder.cc:62–68 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
*/
61
62
static uint8_t decodeUint16(uint16_t raw)
63
{
64
Bytes b;
65
ByteWriter bw(b);
66
bw.write_be16(raw);
67
return decodeFmMfm(b.toBits())[0];
68
}
69
70
class IbmEncoder : public Encoder
71
{
Callers
1
encode
Method · 0.70
Calls
2
toBits
Method · 0.80
decodeFmMfm
Function · 0.50
Tested by
no test coverage detected