MCPcopy 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
62static 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
70class IbmEncoder : public Encoder
71{

Callers 1

encodeMethod · 0.70

Calls 2

toBitsMethod · 0.80
decodeFmMfmFunction · 0.50

Tested by

no test coverage detected