Summary
Determines if a
byte[] starts with a specified prefix.
- Namespace
- Cake
.Core - Containing Type
- ByteArrayExtensions
Syntax
public static bool StartsWith(this byte[] value, byte[] prefix)
Parameters
| Name | Type | Description |
|---|---|---|
| value | byte[] | The value. |
| prefix | byte[] | The prefix to compare. |
Return Value
| Type | Description |
|---|---|
| bool | Whether or not the byte[] starts with the specified prefix. |
