26 references to Base64FormattingOptions
Microsoft.AspNetCore.WebSockets.Tests (4)
WebSocketCompressionMiddlewareTests.cs (1)
176request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None));
WebSocketMiddlewareTests.cs (3)
682request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None)); 767request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None)); 838request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None));
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
62[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Base64FormattingOptions))]
netstandard (1)
netstandard.cs (1)
55[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Base64FormattingOptions))]
ReachFramework (1)
PrintConfig\PrintSchemaShim.cs (1)
137XmlText textNode = ticket.XmlDoc.CreateTextNode(Convert.ToBase64String(devMode.ByteData, Base64FormattingOptions.None));
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (17)
2317return ToBase64String(new ReadOnlySpan<byte>(inArray), Base64FormattingOptions.None); 2320public static string ToBase64String(byte[] inArray, Base64FormattingOptions options) 2329return ToBase64String(inArray, offset, length, Base64FormattingOptions.None); 2332public static string ToBase64String(byte[] inArray, int offset, int length, Base64FormattingOptions options) 2343public static string ToBase64String(ReadOnlySpan<byte> bytes, Base64FormattingOptions options = Base64FormattingOptions.None) 2345if ((uint)options > (uint)Base64FormattingOptions.InsertLineBreaks) 2355bool insertLineBreaks = (options == Base64FormattingOptions.InsertLineBreaks); 2382return ToBase64CharArray(inArray, offsetIn, length, outArray, offsetOut, Base64FormattingOptions.None); 2385public static unsafe int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut, Base64FormattingOptions options) 2393if (options < Base64FormattingOptions.None || options > Base64FormattingOptions.InsertLineBreaks) 2407bool insertLineBreaks = options == Base64FormattingOptions.InsertLineBreaks; 2429public static unsafe bool TryToBase64Chars(ReadOnlySpan<byte> bytes, Span<char> chars, out int charsWritten, Base64FormattingOptions options = Base64FormattingOptions.None) 2431if ((uint)options > (uint)Base64FormattingOptions.InsertLineBreaks) 2442bool insertLineBreaks = options == Base64FormattingOptions.InsertLineBreaks;
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
50[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Base64FormattingOptions))]
System.Runtime.Extensions (1)
System.Runtime.Extensions.cs (1)
10[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Base64FormattingOptions))]