public TextEditProviderBase(EditStream stream, Encoding encoding)
 {
     stream_edit          = stream;
     chars_buffer         = new CharBuffer(encoding.GetMaxCharCount(bytes_buffer_size));
     this.encoding        = encoding;
     bytes_buffer         = new byte[bytes_buffer_size];
     chars_count_internal = get_chars_count();
 }
 public TextEditProviderMultyByte(EditStream stream, Encoding encoding)
     : base(stream, encoding)
 {
 }