class MQTT::Packet::Pubcomp

def parse_body(buffer)

Parse the body (variable header and payload) of a packet
def parse_body(buffer)
  super(buffer)
  @id = shift_short(buffer)
  return if buffer.empty?
  raise ProtocolException, 'Extra bytes at end of Publish Complete packet'
end