7 references to DecodeInPlace
Microsoft.AspNetCore.Shared.Tests (7)
src\Shared\UrlDecoder\UrlDecoder.cs (2)
29
return
DecodeInPlace
(destination.Slice(0, source.Length), isFormEncoding);
374
/// Form Encoding is not supported compared to the <see cref="
DecodeInPlace
(Span{byte}, bool)" />
UrlDecoderTests.cs (5)
49
int length = UrlDecoder.
DecodeInPlace
(destination.AsSpan(), false);
94
Assert.Throws<InvalidOperationException>(() => UrlDecoder.
DecodeInPlace
(source.AsSpan(), false));
120
var length = UrlDecoder.
DecodeInPlace
(source.AsSpan(), false);
130
var length = UrlDecoder.
DecodeInPlace
(source.AsSpan(), true);
158
var length = UrlDecoder.
DecodeInPlace
(source.AsSpan(), true);