26 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));
838
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 (17)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (17)
2317
return ToBase64String(new ReadOnlySpan<byte>(inArray),
Base64FormattingOptions
.None);
2320
public static string ToBase64String(byte[] inArray,
Base64FormattingOptions
options)
2329
return ToBase64String(inArray, offset, length,
Base64FormattingOptions
.None);
2332
public static string ToBase64String(byte[] inArray, int offset, int length,
Base64FormattingOptions
options)
2343
public static string ToBase64String(ReadOnlySpan<byte> bytes,
Base64FormattingOptions
options =
Base64FormattingOptions
.None)
2345
if ((uint)options > (uint)
Base64FormattingOptions
.InsertLineBreaks)
2355
bool insertLineBreaks = (options ==
Base64FormattingOptions
.InsertLineBreaks);
2382
return ToBase64CharArray(inArray, offsetIn, length, outArray, offsetOut,
Base64FormattingOptions
.None);
2385
public static unsafe int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut,
Base64FormattingOptions
options)
2393
if (options <
Base64FormattingOptions
.None || options >
Base64FormattingOptions
.InsertLineBreaks)
2407
bool insertLineBreaks = options ==
Base64FormattingOptions
.InsertLineBreaks;
2429
public static unsafe bool TryToBase64Chars(ReadOnlySpan<byte> bytes, Span<char> chars, out int charsWritten,
Base64FormattingOptions
options =
Base64FormattingOptions
.None)
2431
if ((uint)options > (uint)
Base64FormattingOptions
.InsertLineBreaks)
2442
bool 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
))]