Method: Babeltrace2::BTMessage::PacketBeginning#get_packet

Defined in:
lib/babeltrace2/graph/message.rb

#get_packetObject Also known as: packet



363
364
365
366
# File 'lib/babeltrace2/graph/message.rb', line 363

def get_packet
  handle = Babeltrace2.bt_message_packet_beginning_borrow_packet(@handle)
  BTPacket.new(handle, retain: true, auto_release: true)
end