MCPcopy Create free account
hub / github.com/RUB-NDS/PRET / data2echo

Method data2echo

pcl.py:205–209  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

203
204 # convert binary data to pcl echo commands
205 def data2echo(self, data):
206 echo = ""
207 for n in data:
208 echo += c.ESC + "*s" + str(ord(n)) + "X"
209 return echo
210
211 # convert pcl echo commands to binary data
212 def echo2data(self, echo):

Callers 1

define_macroMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected