namespace InnovEnergy.Lib.Protocols.DBus.Protocol;

internal static class SerialSource
{
    private static UInt32 _serial = 0;
    public  static UInt32 Next() => Interlocked.Increment(ref _serial);  // wraps, does not throw on overflow
}