Operator Implicit
Implicit(MemoryBuffer to ReadOnlySpan<Byte>)
Implicit convert to a ReadOnlySpan<T>
Declaration
public static implicit operator ReadOnlySpan<byte>(MemoryBuffer buffer)
Parameters
public static implicit operator ReadOnlySpan<byte>(MemoryBuffer buffer)
MemoryBuffer | buffer | Buffer to convert |
Returns
ReadOnlySpan<Byte> |
Remarks
This is a simple wrapper around calling Slice(Int32, Int32) with default parameters