Operator implicit operator
implicit operator ReadOnlySpan<byte>(MemoryBuffer)
Implicit convert to a ReadOnlySpan<T>
[SuppressMessage("Usage", "CA2225:Operator overloads have named alternates", Justification = "Named alternate exists - Slice()")]
public static implicit operator ReadOnlySpan<byte>(MemoryBuffer buffer)
Parameters
bufferMemoryBufferBuffer to convert
Returns
Remarks
This is a simple wrapper around calling Slice(int, int) with default parameters