Module: Thrift::TransportUtils

Defined in:
lib/thrift/transport/base_transport.rb

Class Method Summary collapse

Class Method Details

.get_string_byte(string, index) ⇒ Object

Deprecated: Use Thrift::Bytes instead



39
40
41
# File 'lib/thrift/transport/base_transport.rb', line 39

def self.get_string_byte(string, index)
  Bytes.get_string_byte(string, index)
end

.set_string_byte(string, index, byte) ⇒ Object

Deprecated: Use Thrift::Bytes instead



44
45
46
# File 'lib/thrift/transport/base_transport.rb', line 44

def self.set_string_byte(string, index, byte)
  Bytes.set_string_byte(string, index, byte)
end