25 references to Base64FormattingOptions
Microsoft.AspNetCore.WebSockets.Tests (4)
WebSocketCompressionMiddlewareTests.cs (1)
176
request.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)
682
request.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));
767
request.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));
839
request.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)
137
XmlText textNode = ticket.XmlDoc.CreateTextNode(Convert.ToBase64String(devMode.ByteData,
Base64FormattingOptions
.None));
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (16)
2319
public static string ToBase64String(byte[] inArray,
Base64FormattingOptions
options)
2328
return ToBase64String(inArray, offset, length,
Base64FormattingOptions
.None);
2331
public static string ToBase64String(byte[] inArray, int offset, int length,
Base64FormattingOptions
options)
2342
public static string ToBase64String(ReadOnlySpan<byte> bytes,
Base64FormattingOptions
options =
Base64FormattingOptions
.None)
2344
if ((uint)options > (uint)
Base64FormattingOptions
.InsertLineBreaks)
2354
bool insertLineBreaks = (options ==
Base64FormattingOptions
.InsertLineBreaks);
2372
return ToBase64CharArray(inArray, offsetIn, length, outArray, offsetOut,
Base64FormattingOptions
.None);
2375
public static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut,
Base64FormattingOptions
options)
2383
if (options <
Base64FormattingOptions
.None || options >
Base64FormattingOptions
.InsertLineBreaks)
2397
bool insertLineBreaks = options ==
Base64FormattingOptions
.InsertLineBreaks;
2416
public static bool TryToBase64Chars(ReadOnlySpan<byte> bytes, Span<char> chars, out int charsWritten,
Base64FormattingOptions
options =
Base64FormattingOptions
.None)
2418
if ((uint)options > (uint)
Base64FormattingOptions
.InsertLineBreaks)
2429
bool 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
))]