Left-aligns the bytes in this byte string, padding on the right with a specified byte, for a specified total length.
A new ByteString that is equivalent to this instance, but
left-aligned and padded on the right with as many paddingByte
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.PadRight Overload List