code: def serialiseString(self, s):
          
          if type(s) is unicode:
              s = self.context.getBytesForString(s)
  
          self.serialiseBytes(s)
docs: Writes a raw string to the stream.
  
          @type   s: C{str}
          @param  s: The string data to be encoded to the AMF3 data stream.