added method get_reserved_size() to Packer