Class Eradicate
Provides a set of static methods for eradicating different types of values or sequences of values.
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public static class Eradicate
Methods
| Improve this Doc View SourceTrailingBytes(Byte[], Byte[])
Eradicates trailing byte information (if any) from the specified set of bytes
.
Declaration
public static byte[] TrailingBytes(byte[] bytes, byte[] trailingBytes)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | bytes | The byte[] to process. |
Byte[] | trailingBytes | The byte[] to form the trailing bytes. |
Returns
Type | Description |
---|---|
Byte[] | A byte[] without |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ArgumentOutOfRangeException |
|
TrailingZeros(Byte[])
Eradicates trailing zero information (if any) from the specified set of bytes
.
Declaration
public static byte[] TrailingZeros(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | bytes | The byte[] to process. |
Returns
Type | Description |
---|---|
Byte[] | A byte[] without trailing zeros. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ArgumentOutOfRangeException |
|