Skip to content

StreamId.Create(ReadOnlySpan<byte>, ReadOnlySpan<byte>)

Create(ReadOnlySpan<byte>, ReadOnlySpan<byte>)

static
View source
public static StreamId Create(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> key)
Initializes a new instance of the StreamId struct.

Parameters

nsReadOnlySpan<byte>
The namespace.
keyReadOnlySpan<byte>
The key.