CalculateAppendSize(ReadOnlySpan<byte>)
static
public static int CalculateAppendSize(ReadOnlySpan<byte> memory) Calculates how much space will be needed to append the provided bytes into the segment.
Parameters
memoryReadOnlySpan<byte>
public static int CalculateAppendSize(ReadOnlySpan<byte> memory)memoryReadOnlySpan<byte>