MCPcopy Create free account
hub / github.com/ActiveState/code / MOFF

Method MOFF

recipes/Python/577379_BIRLE_Decoder/recipe-577379.py:88–97  ·  view source on GitHub ↗

00 02: Move Offset

(self,*arg)

Source from the content-addressed store, hash-verified

86 self.HPIX(0x00)
87
88 def MOFF(self,*arg):
89 """ 00 02: Move Offset """
90 mov = self.enc[self.c:self.c+2]
91 self.c += 2
92 mov = ord(mov[0]) + ord(mov[1])*self.w
93 for i in range(mov):
94 self.HPIX(0x00)
95 self.rPix += mov
96 self.lns += self.rPix // mov
97 self.rPix %= mov
98
99 def UENCD(self,*arg):
100 """ 00 NN: Unencoded Data """

Callers

nothing calls this directly

Calls 2

HPIXMethod · 0.95
rangeFunction · 0.85

Tested by

no test coverage detected