4 implementations of SrcLength
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64DecoderHelper.cs (2)
1477
public int
SrcLength
(bool _, int utf8Length) => utf8Length & ~0x3; // only decode input up to the closest multiple of 4.
1699
public int
SrcLength
(bool _, int sourceLength) => sourceLength & ~0x3;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Url\Base64UrlDecoder.cs (2)
372
public int
SrcLength
(bool isFinalBlock, int sourceLength) => isFinalBlock ? sourceLength : sourceLength & ~0x3;
516
public int
SrcLength
(bool isFinalBlock, int sourceLength) => default(Base64UrlDecoderByte).SrcLength(isFinalBlock, sourceLength);
1 reference to SrcLength
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64DecoderHelper.cs (1)
38
int srcLength = decoder.
SrcLength
(isFinalBlock, source.Length);