Class SLSimpleDataBuffer.TSLBlockBuffer
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: SignalLabBasicPkg
Unit: SLSimpleDataBuffer
Inherits: TSLLinearMemoryBuffer
Contents |
Syntax
Delphi:
type TSLBlockBuffer = class( TSLLinearMemoryBuffer, ISLBlockBuffer, ISLData )
C++ Builder:
class TSLBlockBuffer : public TSLLinearMemoryBuffer
Visual C++ (MFC):
class CTSLBlockBuffer : public CTSLLinearMemoryBuffer
C# (.NET):
public ref class TSLBlockBuffer : Mitov.SignalLab.LinearMemoryBuffer
Summary
Delphi Binary(Raw) data buffer.
Description
This is Binary(Raw) Data buffer. Use this buffer to access and manipulate the Binary data from inside your Delphi code. .NET, Visual C++, C++ Builder users should use the much more convenient and powerful TSLCBlockBuffer class. Note Delphi only.
Properties
Public
Methods
Public
- function MakeCopy() : TInterfacedObject
- function GetSize() : Cardinal
- function IsEqual(Other : ISLDataBuffer) : Boolean
- function Read() : Pointer
- function Write() : Pointer
- function Modify() : Pointer
- procedure Add(Right : ISLBlockBuffer)
- procedure Subtract(Right : ISLBlockBuffer)
- procedure Multiply(Right : ISLBlockBuffer)
- procedure Divide(Right : ISLBlockBuffer)
- procedure SetValue(AValue : Byte)
- procedure Zero()
- function IsEqualToValue(AValue : Byte) : Boolean
- function GetItem(Index : Integer) : Byte
- procedure SetItem(Index : Integer; Value : Byte)
From TSLLinearMemoryBuffer
Methods
Public
- procedure Resize(Size : Cardinal; PreserveData : Boolean) - Resizes the buffer.
From TSLMemoryBuffer
Properties
Public
Methods
Public
- function MakeCopy() : TInterfacedObject
- function ByteRead() : PByte
- function ByteWrite() : PByte
- function ByteModify() : PByte
- function GetByteSize() : Cardinal - Call this method to get the buffer size in bytes.
- function GetCharSize() : Cardinal - Call this method to get the buffer size in characters.
- function GetSize() : Cardinal - Call this method to get the buffer size in bytes.
From TSLGenericBuffer
Methods
Public
- function MakeCopy() : TInterfacedObject - Creates a copy from the buffer.
- procedure SaveToFile(AFileName : String)
- procedure LoadFromFile(AFileName : String)
- function IsEqual(Other : ISLDataBuffer) : Boolean
- procedure Unique(PreserveData : Boolean)
- function MakeUnique(PreserveData : Boolean) : Boolean
- function GetByteSize() : Cardinal - Returns the size of the buffer in bytes.
- function GetSize() : Cardinal - Returns the size of the buffer in elements.
- function ByteRead() : PByte
- function ByteWrite() : PByte
- function ByteModify() : PByte
- procedure RemoveOwnerShip()
- function OwnsData() : Boolean
- function GetDataBufferIntf() : ISLDataBuffer