return first().as<OtherPacket>();
}
+template <class Other>
+prefix_ void senf::Packet::finalizeTo()
+{
+ Packet p (find<Other>(nothrow));
+ ptr()->finalizeTo(p ? p.ptr() : last().ptr());
+}
+
+template <class Annotation>
+prefix_ Annotation & senf::Packet::annotation()
+{
+ return ptr()->annotation<Annotation>();
+}
+
///////////////////////////////////////////////////////////////////////////
// senf::ConcretePacket<PacketType>