Copies the bytes in a specified substring in this instance to a byte array
A byte array whose elements are the length number of bytes in this instance starting from position startIndex.
| Exception Type | Condition |
|---|---|
| ArgumentOutOfRangeException | startIndex < 0 - or - length < 0 - or - startIndex + length > Length |
ByteString Class | Hunny.Base Namespace | ByteString.ToByteArray Overload List