public static AcnPacket Create(AcnRootLayer header) { return(AcnPacketFactory.Build(header)); }
/// <summary> /// Creates an ACN packet from the header information and the recieved data. /// </summary> /// <param name="header">The header.</param> /// <param name="data">The data.</param> /// <returns>The created ACN packet, may be cast to the correct packet type.</returns> public static AcnPacket Create(AcnRootLayer header, AcnBinaryReader data) { return(AcnPacketFactory.Build(header, data)); }