MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / decodeUint16

Function decodeUint16

arch/tids990/encoder.cc:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18static uint8_t decodeUint16(uint16_t raw)
19{
20 Bytes b;
21 ByteWriter bw(b);
22 bw.write_be16(raw);
23 return decodeFmMfm(b.toBits())[0];
24}
25
26class Tids990Encoder : public Encoder
27{

Callers 1

encodeMethod · 0.70

Calls 2

toBitsMethod · 0.80
decodeFmMfmFunction · 0.50

Tested by

no test coverage detected