public MemoryPoolTextWriter(IMemoryPool memory) { _memory = memory; _textArray = _memory.AllocChar(_textLength); _dataArray = _memory.Empty; _encoder = Encoding.UTF8.GetEncoder(); }
public MemoryPoolTextWriter(IMemoryPool memory) { _memory = memory; _textArray = _memory.AllocChar(_textLength); _dataArray = _memory.Empty; _encoder = Encoding.UTF8.GetEncoder(); }
public MemoryPoolTextWriter(IMemoryPool memory) : base(CultureInfo.InvariantCulture) { _memory = memory; _textArray = _memory.AllocChar(_textLength); _dataArray = EmptyArray; _encoder = Encoding.UTF8.GetEncoder(); }
public MemoryPoolTextWriter(IMemoryPool memory) : base(CultureInfo.InvariantCulture) { _memory = memory; _textArray = _memory.AllocChar(_textLength); _dataArray = MemoryPool.EmptyArray; _encoder = Encoding.UTF8.GetEncoder(); }
public MemoryPoolTextWriter(IMemoryPool memory) { _memory = memory; _textArray = _memory.AllocChar(_textLength); _dataArray = _memory.Empty; _encoder = Encoding.UTF8.GetEncoder(); // Default new lines to \n NewLine = "\n"; }
public MemoryPoolTextWriter(IMemoryPool memory) { _memory = memory; _textArray = _memory.AllocChar(_textLength); _dataArray = _memory.Empty; _encoder = Encoding.UTF8.GetEncoder(); // Default new lines to \n NewLine = "\n"; }