Method: Thrift::BaseProtocol#write_string

Defined in:
lib/thrift/protocol/base_protocol.rb

#write_string(str) ⇒ Object

Writes a Thrift String. In Ruby 1.9+, the String passed will be transcoded to UTF-8.

str - The String to write.

Raises EncodingError if the transcoding to UTF-8 fails.

Returns nothing.

Raises:

  • (NotImplementedError)


124
125
126
# File 'lib/thrift/protocol/base_protocol.rb', line 124

def write_string(str)
  raise NotImplementedError
end