Appearance
StartsWith Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
Overloads
| Name | Description |
|---|---|
bool StartsWith(byte[] input, byte[] prefix) | Checks if byte array starts with a specified set of bytes |
bool StartsWith(byte[] input, ImmutableArray<byte> prefix) | Checks if byte array starts with a specified set of bytes |
bool StartsWith(ReadOnlySpan<byte> source, ReadOnlySpan<byte> prefix) | Checks if byte array starts with a specified set of bytes |
bool StartsWith(byte[] input, byte[] prefix)
csharp
bool StartsWith(byte[] input, byte[] prefix)Checks if byte array starts with a specified set of bytes
bool StartsWith(byte[] input, ImmutableArray<byte> prefix)
csharp
bool StartsWith(byte[] input, ImmutableArray<byte> prefix)Checks if byte array starts with a specified set of bytes
bool StartsWith(ReadOnlySpan<byte> source, ReadOnlySpan<byte> prefix)
csharp
bool StartsWith(ReadOnlySpan<byte> source, ReadOnlySpan<byte> prefix)Checks if byte array starts with a specified set of bytes