public MemoryPoolBufferWriter(MemoryPool <byte>?memoryPool = null) { _memoryPool = memoryPool ?? MemoryPool <byte> .Shared; }