Appearance
EndsWith Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
Overloads
| Name | Description |
|---|---|
bool EndsWith(byte[] input, byte[] suffix) | Checks if the source byte array ends with the specified suffix (byte array). |
bool EndsWith(byte[] input, ImmutableArray<byte> suffix) | Checks if the source byte array ends with the specified suffix (ImmutableArray). |
bool EndsWith(ReadOnlySpan<byte> source, ReadOnlySpan<byte> suffix) | Checks if the source span ends with the specified suffix span. |
bool EndsWith(byte[] input, byte[] suffix)
csharp
bool EndsWith(byte[] input, byte[] suffix)Checks if the source byte array ends with the specified suffix (byte array).
bool EndsWith(byte[] input, ImmutableArray<byte> suffix)
csharp
bool EndsWith(byte[] input, ImmutableArray<byte> suffix)Checks if the source byte array ends with the specified suffix (ImmutableArray).
bool EndsWith(ReadOnlySpan<byte> source, ReadOnlySpan<byte> suffix)
csharp
bool EndsWith(ReadOnlySpan<byte> source, ReadOnlySpan<byte> suffix)Checks if the source span ends with the specified suffix span.