internal void GetEncoderSettings(out ImmutableArray <byte> safeCharacters,
                                  out int flags,
                                  out string lineSeparator,
                                  out int maximumLineLength,
                                  out string hexCharacters)
 {
     safeCharacters    = _settingsSafeCharactersProvider.GetSafeCharacters();
     flags             = _settingsFlagsProvider.GetFlags();
     lineSeparator     = _settingsEncodingLinesProvider.GetEncodingLineSeparator();
     maximumLineLength = _settingsEncodingLinesProvider.GetEncodingMaximumLineLength();
     hexCharacters     = Base16.Base16Settings.Default.GetHexEncoding();
 }
Exemple #2
0
 internal void GetEncoderSettings(out string alphabet,
                                  out int flags,
                                  out string lineSeparator,
                                  out int maximumLineLength,
                                  out string initialPrefix,
                                  out string finalPrefix)
 {
     alphabet          = _alphabetProvider.GetEncodingAlphabet();
     flags             = _flagsProvider.GetFlags();
     lineSeparator     = _encodingLines.GetEncodingLineSeparator();
     maximumLineLength = _encodingLines.GetEncodingMaximumLineLength();
     initialPrefix     = _encodingAffixes.GetEncodingPrefix();
     finalPrefix       = _encodingAffixes.GetEncodingPostfix();
 }