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

Function encode_data_gcr

arch/macintosh/encoder.cc:42–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42static int encode_data_gcr(uint8_t gcr)
43{
44 switch (gcr)
45 {
46#define GCR_ENTRY(gcr, data) \
47 case data: \
48 return gcr;
49#include "data_gcr.h"
50#undef GCR_ENTRY
51 }
52 return -1;
53}
54
55/* This is extremely inspired by the MESS implementation, written by Nathan
56 * Woods and R. Belmont:

Callers 1

write_sectorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected