Method: Thrift::BinaryProtocol#write_map_begin

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

#write_map_begin(ktype, vtype, size) ⇒ Object



64
65
66
67
68
# File 'lib/thrift/protocol/binary_protocol.rb', line 64

def write_map_begin(ktype, vtype, size)
  write_byte(ktype)
  write_byte(vtype)
  write_i32(size)
end