Method: Thrift::MemoryBufferTransport#inspect_buffer
- Defined in:
- lib/thrift/transport/memory_buffer_transport.rb
#inspect_buffer ⇒ Object
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
# File 'lib/thrift/transport/memory_buffer_transport.rb', line 109 def inspect_buffer out = [] for idx in 0...(@buf.size) # if idx != 0 # out << " " # end if idx == @index out << ">" end out << @buf[idx].ord.to_s(16) end out.join(" ") end |