namespace LumaTunnel.Shared.Protocol; public sealed record TunnelFrame( TunnelFrameType Type, uint StreamId, ReadOnlyMemory Payload, ushort Flags = 0, byte Version = TunnelProtocol.Version) { public static TunnelFrame Empty(TunnelFrameType type, uint streamId, ushort flags = 0) => new(type, streamId, ReadOnlyMemory.Empty, flags); }