Method: Thrift::BaseProtocol#write_binary
- Defined in:
- lib/thrift/protocol/base_protocol.rb
#write_binary(buf) ⇒ Object
Writes a Thrift Binary (Thrift String with no encoding). In Ruby 1.9+, the String passed will forced into BINARY encoding.
buf - The String to write.
Returns nothing.
134 135 136 |
# File 'lib/thrift/protocol/base_protocol.rb', line 134 def write_binary(buf) raise NotImplementedError end |