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. 45public static int GetMaxEncodedToUtf8Length(int length) => GetEncodedLength(length); 94byte[] destination = new byte[GetEncodedLength(source.Length)]; 191char[] destination = new char[GetEncodedLength(source.Length)]; 204string.Create(GetEncodedLength(source.Length), source, static (buffer, source) =>