25 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)); 839request.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 (16)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (16)
2319public static string ToBase64String(byte[] inArray, Base64FormattingOptions options) 2328return ToBase64String(inArray, offset, length, Base64FormattingOptions.None); 2331public static string ToBase64String(byte[] inArray, int offset, int length, Base64FormattingOptions options) 2342public static string ToBase64String(ReadOnlySpan<byte> bytes, Base64FormattingOptions options = Base64FormattingOptions.None) 2344if ((uint)options > (uint)Base64FormattingOptions.InsertLineBreaks) 2354bool insertLineBreaks = (options == Base64FormattingOptions.InsertLineBreaks); 2372return ToBase64CharArray(inArray, offsetIn, length, outArray, offsetOut, Base64FormattingOptions.None); 2375public static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut, Base64FormattingOptions options) 2383if (options < Base64FormattingOptions.None || options > Base64FormattingOptions.InsertLineBreaks) 2397bool insertLineBreaks = options == Base64FormattingOptions.InsertLineBreaks; 2416public static bool TryToBase64Chars(ReadOnlySpan<byte> bytes, Span<char> chars, out int charsWritten, Base64FormattingOptions options = Base64FormattingOptions.None) 2418if ((uint)options > (uint)Base64FormattingOptions.InsertLineBreaks) 2429bool insertLineBreaks = options == Base64FormattingOptions.InsertLineBreaks;
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net11.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))]