-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Copy pathBase64Url.xml
972 lines (972 loc) · 70.6 KB
/
Base64Url.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
<Type Name="Base64Url" FullName="System.Buffers.Text.Base64Url">
<TypeSignature Language="C#" Value="public static class Base64Url" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit Base64Url extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Buffers.Text.Base64Url" />
<TypeSignature Language="VB.NET" Value="Public Class Base64Url" />
<TypeSignature Language="F#" Value="type Base64Url = class" />
<TypeSignature Language="C++ CLI" Value="public ref class Base64Url abstract sealed" />
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Converts between binary data and URL-safe ASCII encoded text that's represented in Base64Url characters.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="DecodeFromChars">
<MemberSignature Language="C#" Value="public static byte[] DecodeFromChars (ReadOnlySpan<char> source);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int8[] DecodeFromChars(valuetype System.ReadOnlySpan`1<char> source) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.DecodeFromChars(System.ReadOnlySpan{System.Char})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function DecodeFromChars (source As ReadOnlySpan(Of Char)) As Byte()" />
<MemberSignature Language="F#" Value="static member DecodeFromChars : ReadOnlySpan<char> -> byte[]" Usage="System.Buffers.Text.Base64Url.DecodeFromChars source" />
<MemberSignature Language="C++ CLI" Value="public:
 static cli::array <System::Byte> ^ DecodeFromChars(ReadOnlySpan<char> source);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Char>" />
</Parameters>
<Docs>
<param name="source">The input span which contains ASCII chars in Base64Url that needs to be decoded.</param>
<summary>
Decodes the span of unicode ASCII chars represented as Base64Url into binary data.
</summary>
<returns>A byte array which contains the result of the decoding operation.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.FormatException">
<paramref name="source" /> contains a invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.</exception>
</Docs>
</Member>
<Member MemberName="DecodeFromChars">
<MemberSignature Language="C#" Value="public static int DecodeFromChars (ReadOnlySpan<char> source, Span<byte> destination);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 DecodeFromChars(valuetype System.ReadOnlySpan`1<char> source, valuetype System.Span`1<unsigned int8> destination) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.DecodeFromChars(System.ReadOnlySpan{System.Char},System.Span{System.Byte})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function DecodeFromChars (source As ReadOnlySpan(Of Char), destination As Span(Of Byte)) As Integer" />
<MemberSignature Language="F#" Value="static member DecodeFromChars : ReadOnlySpan<char> * Span<byte> -> int" Usage="System.Buffers.Text.Base64Url.DecodeFromChars (source, destination)" />
<MemberSignature Language="C++ CLI" Value="public:
 static int DecodeFromChars(ReadOnlySpan<char> source, Span<System::Byte> destination);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Char>" />
<Parameter Name="destination" Type="System.Span<System.Byte>" />
</Parameters>
<Docs>
<param name="source">The input span which contains ASCII chars in Base64Url that needs to be decoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the decoded binary data.</param>
<summary>
Decodes the span of unicode ASCII chars represented as Base64Url into binary data.
</summary>
<returns>The number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException">The buffer in <paramref name="destination" /> is too small to hold the encoded output.</exception>
<exception cref="T:System.FormatException">
<paramref name="source" /> contains a invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.</exception>
</Docs>
</Member>
<Member MemberName="DecodeFromChars">
<MemberSignature Language="C#" Value="public static System.Buffers.OperationStatus DecodeFromChars (ReadOnlySpan<char> source, Span<byte> destination, out int charsConsumed, out int bytesWritten, bool isFinalBlock = true);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Buffers.OperationStatus DecodeFromChars(valuetype System.ReadOnlySpan`1<char> source, valuetype System.Span`1<unsigned int8> destination, [out] int32& charsConsumed, [out] int32& bytesWritten, bool isFinalBlock) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.DecodeFromChars(System.ReadOnlySpan{System.Char},System.Span{System.Byte},System.Int32@,System.Int32@,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function DecodeFromChars (source As ReadOnlySpan(Of Char), destination As Span(Of Byte), ByRef charsConsumed As Integer, ByRef bytesWritten As Integer, Optional isFinalBlock As Boolean = true) As OperationStatus" />
<MemberSignature Language="F#" Value="static member DecodeFromChars : ReadOnlySpan<char> * Span<byte> * int * int * bool -> System.Buffers.OperationStatus" Usage="System.Buffers.Text.Base64Url.DecodeFromChars (source, destination, charsConsumed, bytesWritten, isFinalBlock)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Buffers.OperationStatus</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Char>" />
<Parameter Name="destination" Type="System.Span<System.Byte>" />
<Parameter Name="charsConsumed" Type="System.Int32" RefType="out" />
<Parameter Name="bytesWritten" Type="System.Int32" RefType="out" />
<Parameter Name="isFinalBlock" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="source">The input span which contains unicode ASCII chars in Base64Url that needs to be decoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the decoded binary data.</param>
<param name="charsConsumed">When this method returns, contains the number of input chars consumed during the operation. This can be used to slice the input for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<param name="bytesWritten">When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<param name="isFinalBlock">
<see langword="true" /> when the input span contains the entirety of data to encode; <see langword="false" /> when more data may follow,
such as when calling in a loop. Calls with <see langword="false" /> should be followed up with another call where this parameter is <see langword="true" /> call. The default is <see langword="true" />.</param>
<summary>
Decodes the span of unicode ASCII chars represented as Base64Url into binary data.
</summary>
<returns>One of the enumeration values that indicates the success or failure of the operation.</returns>
<remarks>
As padding is optional for Base64Url the <paramref name="source" /> length not required to be a multiple of 4 even if <paramref name="isFinalBlock" /> is <see langword="true" />.
If the <paramref name="source" /> length is not a multiple of 4 and <paramref name="isFinalBlock" /> is <see langword="true" /> the remainders decoded accordingly:
- Remainder of 3 chars - decoded into 2 bytes data, decoding succeeds.
- Remainder of 2 chars - decoded into 1 byte data. decoding succeeds.
- Remainder of 1 char - will cause OperationStatus.InvalidData result.
</remarks>
</Docs>
</Member>
<Member MemberName="DecodeFromUtf8">
<MemberSignature Language="C#" Value="public static byte[] DecodeFromUtf8 (ReadOnlySpan<byte> source);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int8[] DecodeFromUtf8(valuetype System.ReadOnlySpan`1<unsigned int8> source) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.DecodeFromUtf8(System.ReadOnlySpan{System.Byte})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function DecodeFromUtf8 (source As ReadOnlySpan(Of Byte)) As Byte()" />
<MemberSignature Language="F#" Value="static member DecodeFromUtf8 : ReadOnlySpan<byte> -> byte[]" Usage="System.Buffers.Text.Base64Url.DecodeFromUtf8 source" />
<MemberSignature Language="C++ CLI" Value="public:
 static cli::array <System::Byte> ^ DecodeFromUtf8(ReadOnlySpan<System::Byte> source);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
</Parameters>
<Docs>
<param name="source">The input span which contains UTF-8 encoded text in Base64Url that needs to be decoded.</param>
<summary>
Decodes the span of UTF-8 encoded text represented as Base64Url into binary data.
</summary>
<returns>>A byte array which contains the result of the decoding operation.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.FormatException">
<paramref name="source" /> contains an invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.</exception>
</Docs>
</Member>
<Member MemberName="DecodeFromUtf8">
<MemberSignature Language="C#" Value="public static int DecodeFromUtf8 (ReadOnlySpan<byte> source, Span<byte> destination);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 DecodeFromUtf8(valuetype System.ReadOnlySpan`1<unsigned int8> source, valuetype System.Span`1<unsigned int8> destination) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.DecodeFromUtf8(System.ReadOnlySpan{System.Byte},System.Span{System.Byte})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function DecodeFromUtf8 (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte)) As Integer" />
<MemberSignature Language="F#" Value="static member DecodeFromUtf8 : ReadOnlySpan<byte> * Span<byte> -> int" Usage="System.Buffers.Text.Base64Url.DecodeFromUtf8 (source, destination)" />
<MemberSignature Language="C++ CLI" Value="public:
 static int DecodeFromUtf8(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="destination" Type="System.Span<System.Byte>" />
</Parameters>
<Docs>
<param name="source">The input span which contains UTF-8 encoded text in Base64Url that needs to be decoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the decoded binary data.</param>
<summary>
Decodes the span of UTF-8 encoded text represented as Base64Url into binary data.
</summary>
<returns>The number of bytes written into <paramref name="destination" />. This can be used to slice the output for subsequent calls, if necessary.</returns>
<remarks>
As padding is optional for Base64Url the <paramref name="source" /> length not required to be a multiple of 4.
If the <paramref name="source" /> length is not a multiple of 4 the remainders decoded accordingly:
- Remainder of 3 bytes - decoded into 2 bytes data, decoding succeeds.
- Remainder of 2 bytes - decoded into 1 byte data. decoding succeeds.
- Remainder of 1 byte - is invalid input, causes FormatException.
</remarks>
<exception cref="T:System.ArgumentException">The buffer in <paramref name="destination" /> is too small to hold the encoded output.</exception>
<exception cref="T:System.FormatException">
<paramref name="source" /> contains an invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.</exception>
</Docs>
</Member>
<Member MemberName="DecodeFromUtf8">
<MemberSignature Language="C#" Value="public static System.Buffers.OperationStatus DecodeFromUtf8 (ReadOnlySpan<byte> source, Span<byte> destination, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = true);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Buffers.OperationStatus DecodeFromUtf8(valuetype System.ReadOnlySpan`1<unsigned int8> source, valuetype System.Span`1<unsigned int8> destination, [out] int32& bytesConsumed, [out] int32& bytesWritten, bool isFinalBlock) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.DecodeFromUtf8(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32@,System.Int32@,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function DecodeFromUtf8 (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesConsumed As Integer, ByRef bytesWritten As Integer, Optional isFinalBlock As Boolean = true) As OperationStatus" />
<MemberSignature Language="F#" Value="static member DecodeFromUtf8 : ReadOnlySpan<byte> * Span<byte> * int * int * bool -> System.Buffers.OperationStatus" Usage="System.Buffers.Text.Base64Url.DecodeFromUtf8 (source, destination, bytesConsumed, bytesWritten, isFinalBlock)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Buffers.OperationStatus</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="destination" Type="System.Span<System.Byte>" />
<Parameter Name="bytesConsumed" Type="System.Int32" RefType="out" />
<Parameter Name="bytesWritten" Type="System.Int32" RefType="out" />
<Parameter Name="isFinalBlock" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="source">The input span which contains UTF-8 encoded text in Base64Url that needs to be decoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the decoded binary data.</param>
<param name="bytesConsumed">When this method returns, contains the number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<param name="bytesWritten">When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<param name="isFinalBlock">
<see langword="true" /> when the input span contains the entirety of data to encode; <see langword="false" /> when more data may follow,
such as when calling in a loop. Calls with <see langword="false" /> should be followed up with another call where this parameter is <see langword="true" /> call. The default is <see langword="true" />.</param>
<summary>
Decodes the span of UTF-8 encoded text represented as Base64Url into binary data.
</summary>
<returns>One of the enumeration values that indicates the success or failure of the operation.</returns>
<remarks>
As padding is optional for Base64Url the <paramref name="source" /> length not required to be a multiple of 4 even if <paramref name="isFinalBlock" /> is <see langword="true" />.
If the <paramref name="source" /> length is not a multiple of 4 and <paramref name="isFinalBlock" /> is <see langword="true" /> the remainders decoded accordingly:
- Remainder of 3 bytes - decoded into 2 bytes data, decoding succeeds.
- Remainder of 2 bytes - decoded into 1 byte data. decoding succeeds.
- Remainder of 1 byte - will cause OperationStatus.InvalidData result.
</remarks>
</Docs>
</Member>
<Member MemberName="DecodeFromUtf8InPlace">
<MemberSignature Language="C#" Value="public static int DecodeFromUtf8InPlace (Span<byte> buffer);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 DecodeFromUtf8InPlace(valuetype System.Span`1<unsigned int8> buffer) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.DecodeFromUtf8InPlace(System.Span{System.Byte})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function DecodeFromUtf8InPlace (buffer As Span(Of Byte)) As Integer" />
<MemberSignature Language="F#" Value="static member DecodeFromUtf8InPlace : Span<byte> -> int" Usage="System.Buffers.Text.Base64Url.DecodeFromUtf8InPlace buffer" />
<MemberSignature Language="C++ CLI" Value="public:
 static int DecodeFromUtf8InPlace(Span<System::Byte> buffer);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="buffer" Type="System.Span<System.Byte>" />
</Parameters>
<Docs>
<param name="buffer">The input span which contains the base 64 text data that needs to be decoded.</param>
<summary>
Decodes the span of UTF-8 encoded text in Base64Url into binary data, in-place.
The decoded binary output is smaller than the text data contained in the input (the operation deflates the data).
</summary>
<returns>The number of bytes written into <paramref name="buffer" />. This can be used to slice the output for subsequent calls, if necessary.</returns>
<remarks>
As padding is optional for Base64Url the <paramref name="buffer" /> length not required to be a multiple of 4.
If the <paramref name="buffer" /> length is not a multiple of 4 the remainders decoded accordingly:
- Remainder of 3 bytes - decoded into 2 bytes data, decoding succeeds.
- Remainder of 2 bytes - decoded into 1 byte data. decoding succeeds.
- Remainder of 1 byte - is invalid input, causes FormatException.
</remarks>
<exception cref="T:System.FormatException">
<paramref name="buffer" /> contains an invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.</exception>
</Docs>
</Member>
<Member MemberName="EncodeToChars">
<MemberSignature Language="C#" Value="public static char[] EncodeToChars (ReadOnlySpan<byte> source);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig char[] EncodeToChars(valuetype System.ReadOnlySpan`1<unsigned int8> source) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.EncodeToChars(System.ReadOnlySpan{System.Byte})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function EncodeToChars (source As ReadOnlySpan(Of Byte)) As Char()" />
<MemberSignature Language="F#" Value="static member EncodeToChars : ReadOnlySpan<byte> -> char[]" Usage="System.Buffers.Text.Base64Url.EncodeToChars source" />
<MemberSignature Language="C++ CLI" Value="public:
 static cli::array <char> ^ EncodeToChars(ReadOnlySpan<System::Byte> source);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Char[]</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
</Parameters>
<Docs>
<param name="source">The input span which contains binary data that needs to be encoded.</param>
<summary>
Encodes the span of binary data into unicode ASCII chars represented as Base64Url.
</summary>
<returns>A char array which contains the result of the operation, i.e. the ASCII chars in Base64Url.</returns>
<remarks>This implementation of the base64url encoding omits the optional padding characters.</remarks>
</Docs>
</Member>
<Member MemberName="EncodeToChars">
<MemberSignature Language="C#" Value="public static int EncodeToChars (ReadOnlySpan<byte> source, Span<char> destination);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 EncodeToChars(valuetype System.ReadOnlySpan`1<unsigned int8> source, valuetype System.Span`1<char> destination) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.EncodeToChars(System.ReadOnlySpan{System.Byte},System.Span{System.Char})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function EncodeToChars (source As ReadOnlySpan(Of Byte), destination As Span(Of Char)) As Integer" />
<MemberSignature Language="F#" Value="static member EncodeToChars : ReadOnlySpan<byte> * Span<char> -> int" Usage="System.Buffers.Text.Base64Url.EncodeToChars (source, destination)" />
<MemberSignature Language="C++ CLI" Value="public:
 static int EncodeToChars(ReadOnlySpan<System::Byte> source, Span<char> destination);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="destination" Type="System.Span<System.Char>" />
</Parameters>
<Docs>
<param name="source">The input span which contains binary data that needs to be encoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the ASCII chars in Base64Url.</param>
<summary>
Encodes the span of binary data into unicode ASCII chars represented as Base64Url.
</summary>
<returns>The number of bytes written into the destination span. This can be used to slice the output for subsequent calls, if necessary.</returns>
<remarks>This implementation of the base64url encoding omits the optional padding characters.</remarks>
<exception cref="T:System.ArgumentException">The buffer in <paramref name="destination" /> is too small to hold the encoded output.</exception>
</Docs>
</Member>
<Member MemberName="EncodeToChars">
<MemberSignature Language="C#" Value="public static System.Buffers.OperationStatus EncodeToChars (ReadOnlySpan<byte> source, Span<char> destination, out int bytesConsumed, out int charsWritten, bool isFinalBlock = true);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Buffers.OperationStatus EncodeToChars(valuetype System.ReadOnlySpan`1<unsigned int8> source, valuetype System.Span`1<char> destination, [out] int32& bytesConsumed, [out] int32& charsWritten, bool isFinalBlock) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.EncodeToChars(System.ReadOnlySpan{System.Byte},System.Span{System.Char},System.Int32@,System.Int32@,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function EncodeToChars (source As ReadOnlySpan(Of Byte), destination As Span(Of Char), ByRef bytesConsumed As Integer, ByRef charsWritten As Integer, Optional isFinalBlock As Boolean = true) As OperationStatus" />
<MemberSignature Language="F#" Value="static member EncodeToChars : ReadOnlySpan<byte> * Span<char> * int * int * bool -> System.Buffers.OperationStatus" Usage="System.Buffers.Text.Base64Url.EncodeToChars (source, destination, bytesConsumed, charsWritten, isFinalBlock)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Buffers.OperationStatus</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="destination" Type="System.Span<System.Char>" />
<Parameter Name="bytesConsumed" Type="System.Int32" RefType="out" />
<Parameter Name="charsWritten" Type="System.Int32" RefType="out" />
<Parameter Name="isFinalBlock" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="source">The input span which contains binary data that needs to be encoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the ASCII chars in Base64Url.</param>
<param name="bytesConsumed">>When this method returns, contains the number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<param name="charsWritten">>When this method returns, contains the number of chars written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<param name="isFinalBlock">
<see langword="true" /> when the input span contains the entirety of data to encode; <see langword="false" /> when more data may follow,
such as when calling in a loop, subsequent calls with <see langword="false" /> should end with <see langword="true" /> call. The default is <see langword="true" />.</param>
<summary>
Encodes the span of binary data into unicode ASCII chars represented as Base64Url.
</summary>
<returns>One of the enumeration values that indicates the success or failure of the operation.</returns>
<remarks>This implementation of the base64url encoding omits the optional padding characters.</remarks>
</Docs>
</Member>
<Member MemberName="EncodeToString">
<MemberSignature Language="C#" Value="public static string EncodeToString (ReadOnlySpan<byte> source);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string EncodeToString(valuetype System.ReadOnlySpan`1<unsigned int8> source) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.EncodeToString(System.ReadOnlySpan{System.Byte})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function EncodeToString (source As ReadOnlySpan(Of Byte)) As String" />
<MemberSignature Language="F#" Value="static member EncodeToString : ReadOnlySpan<byte> -> string" Usage="System.Buffers.Text.Base64Url.EncodeToString source" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::String ^ EncodeToString(ReadOnlySpan<System::Byte> source);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
</Parameters>
<Docs>
<param name="source">The input span which contains binary data that needs to be encoded.</param>
<summary>
Encodes the span of binary data into unicode string represented as Base64Url ASCII chars.
</summary>
<returns>A string which contains the result of the operation, i.e. the ASCII string in Base64Url.</returns>
<remarks>This implementation of the base64url encoding omits the optional padding characters.</remarks>
</Docs>
</Member>
<Member MemberName="EncodeToUtf8">
<MemberSignature Language="C#" Value="public static byte[] EncodeToUtf8 (ReadOnlySpan<byte> source);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int8[] EncodeToUtf8(valuetype System.ReadOnlySpan`1<unsigned int8> source) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.EncodeToUtf8(System.ReadOnlySpan{System.Byte})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function EncodeToUtf8 (source As ReadOnlySpan(Of Byte)) As Byte()" />
<MemberSignature Language="F#" Value="static member EncodeToUtf8 : ReadOnlySpan<byte> -> byte[]" Usage="System.Buffers.Text.Base64Url.EncodeToUtf8 source" />
<MemberSignature Language="C++ CLI" Value="public:
 static cli::array <System::Byte> ^ EncodeToUtf8(ReadOnlySpan<System::Byte> source);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
</Parameters>
<Docs>
<param name="source">The input span which contains binary data that needs to be encoded.</param>
<summary>
Encodes the span of binary data into UTF-8 encoded text represented as Base64Url.
</summary>
<returns>The output byte array which contains the result of the operation, i.e. the UTF-8 encoded text in Base64Url.</returns>
<remarks>This implementation of the base64url encoding omits the optional padding characters.</remarks>
</Docs>
</Member>
<Member MemberName="EncodeToUtf8">
<MemberSignature Language="C#" Value="public static int EncodeToUtf8 (ReadOnlySpan<byte> source, Span<byte> destination);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 EncodeToUtf8(valuetype System.ReadOnlySpan`1<unsigned int8> source, valuetype System.Span`1<unsigned int8> destination) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.EncodeToUtf8(System.ReadOnlySpan{System.Byte},System.Span{System.Byte})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function EncodeToUtf8 (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte)) As Integer" />
<MemberSignature Language="F#" Value="static member EncodeToUtf8 : ReadOnlySpan<byte> * Span<byte> -> int" Usage="System.Buffers.Text.Base64Url.EncodeToUtf8 (source, destination)" />
<MemberSignature Language="C++ CLI" Value="public:
 static int EncodeToUtf8(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="destination" Type="System.Span<System.Byte>" />
</Parameters>
<Docs>
<param name="source">The input span which contains binary data that needs to be encoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the UTF-8 encoded text in Base64Url.</param>
<summary>
Encodes the span of binary data into UTF-8 encoded text represented as Base64Url.
</summary>
<returns>The number of bytes written into the destination span. This can be used to slice the output for subsequent calls, if necessary.</returns>
<remarks>This implementation of the base64url encoding omits the optional padding characters.</remarks>
<exception cref="T:System.ArgumentException">The buffer in <paramref name="destination" /> is too small to hold the encoded output.</exception>
</Docs>
</Member>
<Member MemberName="EncodeToUtf8">
<MemberSignature Language="C#" Value="public static System.Buffers.OperationStatus EncodeToUtf8 (ReadOnlySpan<byte> source, Span<byte> destination, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = true);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Buffers.OperationStatus EncodeToUtf8(valuetype System.ReadOnlySpan`1<unsigned int8> source, valuetype System.Span`1<unsigned int8> destination, [out] int32& bytesConsumed, [out] int32& bytesWritten, bool isFinalBlock) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.EncodeToUtf8(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32@,System.Int32@,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function EncodeToUtf8 (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesConsumed As Integer, ByRef bytesWritten As Integer, Optional isFinalBlock As Boolean = true) As OperationStatus" />
<MemberSignature Language="F#" Value="static member EncodeToUtf8 : ReadOnlySpan<byte> * Span<byte> * int * int * bool -> System.Buffers.OperationStatus" Usage="System.Buffers.Text.Base64Url.EncodeToUtf8 (source, destination, bytesConsumed, bytesWritten, isFinalBlock)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Buffers.OperationStatus</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="destination" Type="System.Span<System.Byte>" />
<Parameter Name="bytesConsumed" Type="System.Int32" RefType="out" />
<Parameter Name="bytesWritten" Type="System.Int32" RefType="out" />
<Parameter Name="isFinalBlock" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="source">The input span which contains binary data that needs to be encoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the UTF-8 encoded text in Base64Url.</param>
<param name="bytesConsumed">When this method returns, contains the number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<param name="bytesWritten">When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<param name="isFinalBlock">
<see langword="true" /> when the input span contains the entirety of data to encode; <see langword="false" /> when more data may follow,
such as when calling in a loop, subsequent calls with <see langword="false" /> should end with <see langword="true" /> call. The default is <see langword="true" />.</param>
<summary>
Encodes the span of binary data into UTF-8 encoded text represented as Base64Url.
</summary>
<returns>One of the enumeration values that indicates the success or failure of the operation.</returns>
<remarks>This implementation of the base64url encoding omits the optional padding characters.</remarks>
</Docs>
</Member>
<Member MemberName="GetEncodedLength">
<MemberSignature Language="C#" Value="public static int GetEncodedLength (int bytesLength);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 GetEncodedLength(int32 bytesLength) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.GetEncodedLength(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetEncodedLength (bytesLength As Integer) As Integer" />
<MemberSignature Language="F#" Value="static member GetEncodedLength : int -> int" Usage="System.Buffers.Text.Base64Url.GetEncodedLength bytesLength" />
<MemberSignature Language="C++ CLI" Value="public:
 static int GetEncodedLength(int bytesLength);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="bytesLength" Type="System.Int32" />
</Parameters>
<Docs>
<param name="bytesLength">The size of the input span.</param>
<summary>
Returns the length (in bytes) of the result if you were to encode binary data within a byte span of size <paramref name="bytesLength" />.
</summary>
<returns>The length (in bytes) of the encoded result.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="bytesLength" /> is less than 0 or greater than 1610612733.
</exception>
</Docs>
</Member>
<Member MemberName="GetMaxDecodedLength">
<MemberSignature Language="C#" Value="public static int GetMaxDecodedLength (int base64Length);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 GetMaxDecodedLength(int32 base64Length) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.GetMaxDecodedLength(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetMaxDecodedLength (base64Length As Integer) As Integer" />
<MemberSignature Language="F#" Value="static member GetMaxDecodedLength : int -> int" Usage="System.Buffers.Text.Base64Url.GetMaxDecodedLength base64Length" />
<MemberSignature Language="C++ CLI" Value="public:
 static int GetMaxDecodedLength(int base64Length);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="base64Length" Type="System.Int32" />
</Parameters>
<Docs>
<param name="base64Length">The size of the input span.</param>
<summary>
Returns the maximum length (in bytes) of the result if you were to decode base 64 encoded text from a span of size <paramref name="base64Length" />.
</summary>
<returns>The maximum length (in bytes) of the decoded result.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">The specified <paramref name="base64Length" /> is less than 0.
</exception>
</Docs>
</Member>
<Member MemberName="IsValid">
<MemberSignature Language="C#" Value="public static bool IsValid (ReadOnlySpan<byte> utf8Base64UrlText);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsValid(valuetype System.ReadOnlySpan`1<unsigned int8> utf8Base64UrlText) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.IsValid(System.ReadOnlySpan{System.Byte})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsValid (utf8Base64UrlText As ReadOnlySpan(Of Byte)) As Boolean" />
<MemberSignature Language="F#" Value="static member IsValid : ReadOnlySpan<byte> -> bool" Usage="System.Buffers.Text.Base64Url.IsValid utf8Base64UrlText" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool IsValid(ReadOnlySpan<System::Byte> utf8Base64UrlText);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="utf8Base64UrlText" Type="System.ReadOnlySpan<System.Byte>" />
</Parameters>
<Docs>
<param name="utf8Base64UrlText">A span of UTF-8 text to validate.</param>
<summary>Validates that the specified span of UTF-8 text is comprised of valid base-64 encoded data.</summary>
<returns>
<see langword="true" /> if <paramref name="utf8Base64UrlText" /> contains a valid, decodable sequence of base-64 encoded data; otherwise, <see langword="false" />.</returns>
<remarks>
where whitespace is defined as the characters ' ', '\t', '\r', or '\n' (as bytes).
</remarks>
</Docs>
</Member>
<Member MemberName="IsValid">
<MemberSignature Language="C#" Value="public static bool IsValid (ReadOnlySpan<char> base64UrlText);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsValid(valuetype System.ReadOnlySpan`1<char> base64UrlText) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.IsValid(System.ReadOnlySpan{System.Char})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsValid (base64UrlText As ReadOnlySpan(Of Char)) As Boolean" />
<MemberSignature Language="F#" Value="static member IsValid : ReadOnlySpan<char> -> bool" Usage="System.Buffers.Text.Base64Url.IsValid base64UrlText" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool IsValid(ReadOnlySpan<char> base64UrlText);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="base64UrlText" Type="System.ReadOnlySpan<System.Char>" />
</Parameters>
<Docs>
<param name="base64UrlText">A span of text to validate.</param>
<summary>Validates that the specified span of text is comprised of valid base-64 encoded data.</summary>
<returns>
<see langword="true" /> if <paramref name="base64UrlText" /> contains a valid, decodable sequence of base-64 encoded data; otherwise, <see langword="false" />.</returns>
<remarks>
If the method returns <see langword="true" />, the same text passed to <see cref="M:System.Buffers.Text.Base64Url.DecodeFromChars(System.ReadOnlySpan{System.Char})" /> and
<see cref="M:System.Buffers.Text.Base64Url.TryDecodeFromChars(System.ReadOnlySpan{System.Char},System.Span{System.Byte},System.Int32@)" /> would successfully decode (in the case
of <see cref="M:System.Buffers.Text.Base64Url.TryDecodeFromChars(System.ReadOnlySpan{System.Char},System.Span{System.Byte},System.Int32@)" /> assuming sufficient output space).
Any amount of whitespace is allowed anywhere in the input, where whitespace is defined as the characters ' ', '\t', '\r', or '\n'.
</remarks>
</Docs>
</Member>
<Member MemberName="IsValid">
<MemberSignature Language="C#" Value="public static bool IsValid (ReadOnlySpan<byte> utf8Base64UrlText, out int decodedLength);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsValid(valuetype System.ReadOnlySpan`1<unsigned int8> utf8Base64UrlText, [out] int32& decodedLength) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.IsValid(System.ReadOnlySpan{System.Byte},System.Int32@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsValid (utf8Base64UrlText As ReadOnlySpan(Of Byte), ByRef decodedLength As Integer) As Boolean" />
<MemberSignature Language="F#" Value="static member IsValid : ReadOnlySpan<byte> * int -> bool" Usage="System.Buffers.Text.Base64Url.IsValid (utf8Base64UrlText, decodedLength)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool IsValid(ReadOnlySpan<System::Byte> utf8Base64UrlText, [Runtime::InteropServices::Out] int % decodedLength);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="utf8Base64UrlText" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="decodedLength" Type="System.Int32" RefType="out" />
</Parameters>
<Docs>
<param name="utf8Base64UrlText">A span of UTF-8 text to validate.</param>
<param name="decodedLength">If the method returns true, the number of decoded bytes that will result from decoding the input UTF-8 text.</param>
<summary>Validates that the specified span of UTF-8 text is comprised of valid base-64 encoded data.</summary>
<returns>
<see langword="true" /> if <paramref name="utf8Base64UrlText" /> contains a valid, decodable sequence of base-64 encoded data; otherwise, <see langword="false" />.</returns>
<remarks>
where whitespace is defined as the characters ' ', '\t', '\r', or '\n' (as bytes).
</remarks>
</Docs>
</Member>
<Member MemberName="IsValid">
<MemberSignature Language="C#" Value="public static bool IsValid (ReadOnlySpan<char> base64UrlText, out int decodedLength);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsValid(valuetype System.ReadOnlySpan`1<char> base64UrlText, [out] int32& decodedLength) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.IsValid(System.ReadOnlySpan{System.Char},System.Int32@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsValid (base64UrlText As ReadOnlySpan(Of Char), ByRef decodedLength As Integer) As Boolean" />
<MemberSignature Language="F#" Value="static member IsValid : ReadOnlySpan<char> * int -> bool" Usage="System.Buffers.Text.Base64Url.IsValid (base64UrlText, decodedLength)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool IsValid(ReadOnlySpan<char> base64UrlText, [Runtime::InteropServices::Out] int % decodedLength);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="base64UrlText" Type="System.ReadOnlySpan<System.Char>" />
<Parameter Name="decodedLength" Type="System.Int32" RefType="out" />
</Parameters>
<Docs>
<param name="base64UrlText">A span of text to validate.</param>
<param name="decodedLength">If the method returns true, the number of decoded bytes that will result from decoding the input text.</param>
<summary>Validates that the specified span of text is comprised of valid base-64 encoded data.</summary>
<returns>
<see langword="true" /> if <paramref name="base64UrlText" /> contains a valid, decodable sequence of base-64 encoded data; otherwise, <see langword="false" />.</returns>
<remarks>
If the method returns <see langword="true" />, the same text passed to <see cref="M:System.Buffers.Text.Base64Url.DecodeFromChars(System.ReadOnlySpan{System.Char})" /> and
<see cref="M:System.Buffers.Text.Base64Url.TryDecodeFromChars(System.ReadOnlySpan{System.Char},System.Span{System.Byte},System.Int32@)" /> would successfully decode (in the case
of <see cref="M:System.Buffers.Text.Base64Url.TryDecodeFromChars(System.ReadOnlySpan{System.Char},System.Span{System.Byte},System.Int32@)" /> assuming sufficient output space).
Any amount of whitespace is allowed anywhere in the input, where whitespace is defined as the characters ' ', '\t', '\r', or '\n'.
</remarks>
</Docs>
</Member>
<Member MemberName="TryDecodeFromChars">
<MemberSignature Language="C#" Value="public static bool TryDecodeFromChars (ReadOnlySpan<char> source, Span<byte> destination, out int bytesWritten);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryDecodeFromChars(valuetype System.ReadOnlySpan`1<char> source, valuetype System.Span`1<unsigned int8> destination, [out] int32& bytesWritten) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.TryDecodeFromChars(System.ReadOnlySpan{System.Char},System.Span{System.Byte},System.Int32@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryDecodeFromChars (source As ReadOnlySpan(Of Char), destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean" />
<MemberSignature Language="F#" Value="static member TryDecodeFromChars : ReadOnlySpan<char> * Span<byte> * int -> bool" Usage="System.Buffers.Text.Base64Url.TryDecodeFromChars (source, destination, bytesWritten)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryDecodeFromChars(ReadOnlySpan<char> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Char>" />
<Parameter Name="destination" Type="System.Span<System.Byte>" />
<Parameter Name="bytesWritten" Type="System.Int32" RefType="out" />
</Parameters>
<Docs>
<param name="source">The input span which contains ASCII chars in Base64Url that needs to be decoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the decoded binary data.</param>
<param name="bytesWritten">When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<summary>
Decodes the span of unicode ASCII chars represented as Base64Url into binary data.
</summary>
<returns>
<see langword="true" /> if bytes decoded successfully, otherwise <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.FormatException">
<paramref name="source" /> contains an invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.</exception>
</Docs>
</Member>
<Member MemberName="TryDecodeFromUtf8">
<MemberSignature Language="C#" Value="public static bool TryDecodeFromUtf8 (ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryDecodeFromUtf8(valuetype System.ReadOnlySpan`1<unsigned int8> source, valuetype System.Span`1<unsigned int8> destination, [out] int32& bytesWritten) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.TryDecodeFromUtf8(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryDecodeFromUtf8 (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean" />
<MemberSignature Language="F#" Value="static member TryDecodeFromUtf8 : ReadOnlySpan<byte> * Span<byte> * int -> bool" Usage="System.Buffers.Text.Base64Url.TryDecodeFromUtf8 (source, destination, bytesWritten)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryDecodeFromUtf8(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="destination" Type="System.Span<System.Byte>" />
<Parameter Name="bytesWritten" Type="System.Int32" RefType="out" />
</Parameters>
<Docs>
<param name="source">The input span which contains UTF-8 encoded text in Base64Url that needs to be decoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the decoded binary data.</param>
<param name="bytesWritten">When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<summary>
Decodes the span of UTF-8 encoded text represented as Base64Url into binary data.
</summary>
<returns>
<see langword="true" /> if bytes decoded successfully, otherwise <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.FormatException">
<paramref name="source" /> contains an invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.</exception>
</Docs>
</Member>
<Member MemberName="TryEncodeToChars">
<MemberSignature Language="C#" Value="public static bool TryEncodeToChars (ReadOnlySpan<byte> source, Span<char> destination, out int charsWritten);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryEncodeToChars(valuetype System.ReadOnlySpan`1<unsigned int8> source, valuetype System.Span`1<char> destination, [out] int32& charsWritten) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.TryEncodeToChars(System.ReadOnlySpan{System.Byte},System.Span{System.Char},System.Int32@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryEncodeToChars (source As ReadOnlySpan(Of Byte), destination As Span(Of Char), ByRef charsWritten As Integer) As Boolean" />
<MemberSignature Language="F#" Value="static member TryEncodeToChars : ReadOnlySpan<byte> * Span<char> * int -> bool" Usage="System.Buffers.Text.Base64Url.TryEncodeToChars (source, destination, charsWritten)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryEncodeToChars(ReadOnlySpan<System::Byte> source, Span<char> destination, [Runtime::InteropServices::Out] int % charsWritten);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="destination" Type="System.Span<System.Char>" />
<Parameter Name="charsWritten" Type="System.Int32" RefType="out" />
</Parameters>
<Docs>
<param name="source">The input span which contains binary data that needs to be encoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the ASCII chars in Base64Url.</param>
<param name="charsWritten">When this method returns, contains the number of chars written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<summary>
Encodes the span of binary data into unicode ASCII chars represented as Base64Url.
</summary>
<returns>
<see langword="true" /> if chars encoded successfully, otherwise <see langword="false" />.</returns>
<remarks>This implementation of the base64url encoding omits the optional padding characters.</remarks>
</Docs>
</Member>
<Member MemberName="TryEncodeToUtf8">
<MemberSignature Language="C#" Value="public static bool TryEncodeToUtf8 (ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryEncodeToUtf8(valuetype System.ReadOnlySpan`1<unsigned int8> source, valuetype System.Span`1<unsigned int8> destination, [out] int32& bytesWritten) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.TryEncodeToUtf8(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryEncodeToUtf8 (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean" />
<MemberSignature Language="F#" Value="static member TryEncodeToUtf8 : ReadOnlySpan<byte> * Span<byte> * int -> bool" Usage="System.Buffers.Text.Base64Url.TryEncodeToUtf8 (source, destination, bytesWritten)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryEncodeToUtf8(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="destination" Type="System.Span<System.Byte>" />
<Parameter Name="bytesWritten" Type="System.Int32" RefType="out" />
</Parameters>
<Docs>
<param name="source">The input span which contains binary data that needs to be encoded.</param>
<param name="destination">The output span which contains the result of the operation, i.e. the UTF-8 encoded text in Base64Url.</param>
<param name="bytesWritten">When this method returns, contains the number of chars written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.</param>
<summary>
Encodes the span of binary data into UTF-8 encoded chars represented as Base64Url.
</summary>
<returns>
<see langword="true" /> if bytes encoded successfully, otherwise <see langword="false" />.</returns>
<remarks>This implementation of the base64url encoding omits the optional padding characters.</remarks>
</Docs>
</Member>
<Member MemberName="TryEncodeToUtf8InPlace">
<MemberSignature Language="C#" Value="public static bool TryEncodeToUtf8InPlace (Span<byte> buffer, int dataLength, out int bytesWritten);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryEncodeToUtf8InPlace(valuetype System.Span`1<unsigned int8> buffer, int32 dataLength, [out] int32& bytesWritten) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Buffers.Text.Base64Url.TryEncodeToUtf8InPlace(System.Span{System.Byte},System.Int32,System.Int32@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryEncodeToUtf8InPlace (buffer As Span(Of Byte), dataLength As Integer, ByRef bytesWritten As Integer) As Boolean" />
<MemberSignature Language="F#" Value="static member TryEncodeToUtf8InPlace : Span<byte> * int * int -> bool" Usage="System.Buffers.Text.Base64Url.TryEncodeToUtf8InPlace (buffer, dataLength, bytesWritten)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryEncodeToUtf8InPlace(Span<System::Byte> buffer, int dataLength, [Runtime::InteropServices::Out] int % bytesWritten);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Bcl.Memory</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="buffer" Type="System.Span<System.Byte>" />
<Parameter Name="dataLength" Type="System.Int32" />
<Parameter Name="bytesWritten" Type="System.Int32" RefType="out" />
</Parameters>
<Docs>
<param name="buffer">The input span which contains binary data that needs to be encoded.
It needs to be large enough to fit the result of the operation.</param>
<param name="dataLength">The amount of binary data contained within the buffer that needs to be encoded
(and needs to be smaller than the buffer length).</param>
<param name="bytesWritten">When this method returns, contains the number of bytes written into the buffer. This parameter is treated as uninitialized.</param>
<summary>
Encodes the span of binary data (in-place) into UTF-8 encoded text represented as base 64.
The encoded text output is larger than the binary data contained in the input (the operation inflates the data).
</summary>
<returns>
<see langword="true" /> if bytes encoded successfully, otherwise <see langword="false" />.</returns>
<remarks>This implementation of the base64url encoding omits the optional padding characters.</remarks>
</Docs>
</Member>
</Members>
</Type>