Interface SLSimpleDataBuffer.ISLBlockBuffer
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: Mitov.BasicLab
Unit: SLSimpleDataBuffer
Inherits: ISLLinearDataBuffer
Contents |
Syntax
Delphi:
type ISLBlockBuffer = interface( ISLLinearDataBuffer )
Summary
Block(Raw) data buffer interface.
Description
This is the Block(Raw) data buffer interface.
Properties
- Items - Access to individual byte item of the buffer.
Methods
- function Read() : Pointer - Returns read only pointer to the buffer data.
- function Write() : Pointer - Returns write pointer to the buffer data.
- function Modify() : Pointer - Returns read and write pointer to the buffer data.
- procedure Add(Right : ISLBlockBuffer) - Adds the elements of the buffer to the corresponding elements of another buffer.
- procedure Subtract(Right : ISLBlockBuffer) - Subtracts the elements of the buffer by the corresponding elements of another buffer.
- procedure Multiply(Right : ISLBlockBuffer) - Multiplies the elements of the buffer by the corresponding elements of another buffer.
- procedure Divide(Right : ISLBlockBuffer) - Divides the elements of the buffer by the corresponding elements of another buffer.
- procedure SetValue(AValue : Byte) - Sets all the elements of the buffer to a certain value.
- procedure Zero() - Sets all the elements of the buffer to 0.
- function IsEqualToValue(AValue : Byte) : Boolean - Checks if all the elements in the buffer are equal to a value.
- function GetItem(Index : Integer) : Byte
- procedure SetItem(Index : Integer; Value : Byte)