FillBytes Method
Object List Next Object
Defined By: DataBuffer
Description:
Used to set several Bytes at a time to a particular value.
Declaration:
FillBytes(ByVal offset As Long, ByVal count As Long, ByVal value As Integer)
Details:
Offset is the position of the Byte to start with. For example, an Offset of zero
would start with the first Byte. Count is the number of Bytes to set. Value is the value the Bytes will be set to.
Offset, Count, and Value must all have positive values. Negative values will
not be accepted for Offset and Count. Entering a negative value for Value will
cause the bitwise inverse to be used. For example, -1 would be stored as 255.
See Also:
SetByte method