private PacketSideData(AVPacketSideData *ptr) { if (ptr == null) { throw new ArgumentNullException(nameof(ptr)); } _ptr = ptr; }
internal static PacketSideData?FromNativeOrNull(AVPacketSideData *ptr) => ptr != null ? new PacketSideData?(new PacketSideData(ptr)) : null;
public static PacketSideData FromNative(AVPacketSideData *ptr) => new PacketSideData(ptr);