class_docstr: Encodes each byte to an id and appends the EOS token.
code: def encode(self, s):
      return super(ByteTextEncoderWithEos, self).encode(s) + [EOS_ID]
  
imports: import re
  import six
label_desc: Use image node_id 1 for calling the ByteTextEncoderWithEos obj's underlying member method code with example usage: obj.encode(s) and returns: unknown