5 references to GetEncodedLength
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Encoder.cs (5)
42
/// This method is equivalent to <see cref="
GetEncodedLength
(int)"/>. The encoded length for base64 is exactly calculated, not an upper bound.
45
public static int GetMaxEncodedToUtf8Length(int length) =>
GetEncodedLength
(length);
94
byte[] destination = new byte[
GetEncodedLength
(source.Length)];
191
char[] destination = new char[
GetEncodedLength
(source.Length)];
204
string.Create(
GetEncodedLength
(source.Length), source, static (buffer, source) =>