Right-aligns the bytes in this instance, padding on the left with a specified byte for a specified total length.
A new ByteString that is equivalent to this instance, but
right-aligned and padded on the left with as many paddingChar
bytes as needed to create a length of totalWidth.
-or-
If totalWidth is less than the length of this instance,
a new ByteString that is identical to this instance.
| Exception Type | Condition |
|---|---|
| ArgumentOutOfRangeException | totalWidth < 0 |
ByteString Class | Hunny.Base Namespace | ByteString.PadLeft Overload List