class_docstr: Encodes each byte to an id. For 8-bit strings only.
code: def encode(self, s):
      numres = self._num_reserved_ids
      return [c + numres for c in s.encode("utf-8")]
  
imports: import re
  import six
label_desc: Use image node_id 1 for calling the ByteTextEncoder obj's underlying member method code with example usage: obj.encode(s) and returns: unknown