Fills the buffer with a number of repeated bytes.
Namespace:
Kaazing.HTML5Assembly: Kaazing.Gateway (in Kaazing.Gateway.dll)
Syntax
| Visual Basic |
|---|
Public Function FillWith ( _ b As Byte, _ size As Integer _ ) As ByteBuffer |
| C# |
|---|
public ByteBuffer FillWith( byte b, int size ) |
| Visual C++ |
|---|
public: ByteBuffer^ FillWith( unsigned char b, int size ) |
Parameters
- b
- Type: System..::..Byte
The byte value to repeat
- size
- Type: System..::..Int32
The number of bytes to repeat