Hunny Software Library Reference

ByteString Constructor (Byte, Int32)

Initializes the new instance to a repeated byte value.

[Visual Basic]
Overloads Public Sub New( _
   ByVal b As Byte, _
   ByVal count As Integer _
)
[C#]
public ByteString(
   byte b,
   int count
);

Parameters

b
the byte value
count
the number of times to repeat the byte value

Exceptions

Exception TypeCondition
ArgumentOutOfRangeExceptioncount < 0

See Also

ByteString Class | Hunny.Base Namespace | ByteString Constructor Overload List