public static bool IsEmpty(this IReadOnlyMemory memory) { if (memory == null) { return(true); } return(memory.ByteLength() == 0); }
public static bool IsEmpty(this IReadOnlyMemory memory) { return(memory.ByteLength() == 0); }