TDADBSupport

Overview

Location

Class Methods


AnsiStringToBuffer

class procedure AnsiStringToBuffer(const Value: ROAnsiString; var Buffer: TBytes; Offset: Integer; StoreStringsAsReference: Boolean; MaxSize: Integer; FixedChar: Boolean)

Parameters:

  • Value:
  • Buffer:
  • Offset:
  • StoreStringsAsReference:
  • MaxSize:
  • FixedChar:

BCDToBuffer

class procedure BCDToBuffer(const Value: TBCD; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

BooleanToBuffer

class procedure BooleanToBuffer(const Value: WordBool; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

BufferToAnsiString

class function BufferToAnsiString(const Buffer: TBytes; Offset: Integer; StoreStringsAsReference: Boolean): ROAnsiString

Parameters:

  • Buffer:
  • Offset:
  • StoreStringsAsReference:

BufferToBCD

class function BufferToBCD(const Buffer: TBytes; Offset: Integer): TBCD

Parameters:

  • Buffer:
  • Offset:

BufferToBoolean

class function BufferToBoolean(const Buffer: TBytes; Offset: Integer): WordBool

Parameters:

  • Buffer:
  • Offset:

BufferToByte

class function BufferToByte(const Buffer: TBytes; Offset: Integer): Byte

Parameters:

  • Buffer:
  • Offset:

BufferToBytes

class function BufferToBytes(const Buffer: TBytes; Offset: Integer): TBytes

Parameters:

  • Buffer:
  • Offset:

BufferToCardinal

class function BufferToCardinal(const Buffer: TBytes; Offset: Integer): Cardinal

Parameters:

  • Buffer:
  • Offset:

BufferToCurrency

class function BufferToCurrency(const Buffer: TBytes; Offset: Integer): Currency

Parameters:

  • Buffer:
  • Offset:

BufferToDouble

class function BufferToDouble(const Buffer: TBytes; Offset: Integer): Double

Parameters:

  • Buffer:
  • Offset:

BufferToExtended

class function BufferToExtended(const Buffer: TBytes; Offset: Integer): Extended

Parameters:

  • Buffer:
  • Offset:

BufferToGuid

class function BufferToGuid(const Buffer: TBytes; Offset: Integer): TBytes

Parameters:

  • Buffer:
  • Offset:

BufferToInt64

class function BufferToInt64(const Buffer: TBytes; Offset: Integer): Int64

Parameters:

  • Buffer:
  • Offset:

BufferToInteger

class function BufferToInteger(const Buffer: TBytes; Offset: Integer): Integer

Parameters:

  • Buffer:
  • Offset:

BufferToShortInt

class function BufferToShortInt(const Buffer: TBytes; Offset: Integer): ShortInt

Parameters:

  • Buffer:
  • Offset:

BufferToSingle

class function BufferToSingle(const Buffer: TBytes; Offset: Integer): Single

Parameters:

  • Buffer:
  • Offset:

BufferToSmallInt

class function BufferToSmallInt(const Buffer: TBytes; Offset: Integer): SmallInt

Parameters:

  • Buffer:
  • Offset:

BufferToSQLTimeStamp

class function BufferToSQLTimeStamp(const Buffer: TBytes; Offset: Integer): TSQLTimeStamp

Parameters:

  • Buffer:
  • Offset:

BufferToUInt64

class function BufferToUInt64(const Buffer: TBytes; Offset: Integer): UInt64

Parameters:

  • Buffer:
  • Offset:

BufferToUnicodeString

class function BufferToUnicodeString(const Buffer: TBytes; Offset: Integer; StoreStringsAsReference: Boolean): UnicodeString

Parameters:

  • Buffer:
  • Offset:
  • StoreStringsAsReference:

BufferToWord

class function BufferToWord(const Buffer: TBytes; Offset: Integer): Word

Parameters:

  • Buffer:
  • Offset:

ByteToBuffer

class procedure ByteToBuffer(const Value: Byte; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

CardinalToBuffer

class procedure CardinalToBuffer(const Value: Cardinal; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

ClearAnsiStringBuffer

class procedure ClearAnsiStringBuffer(var Buffer: TBytes; Offset: Integer)

Parameters:

  • Buffer:
  • Offset:

ClearBytesBuffer

class procedure ClearBytesBuffer(var Buffer: TBytes; Offset: Integer)

Parameters:

  • Buffer:
  • Offset:

ClearNullMask

class procedure ClearNullMask(var Buffer: TBytes; BitMaskSize: integer; Value: byte)

Parameters:

  • Buffer:
  • BitMaskSize:
  • Value:

ClearUnicodeStringBuffer

class procedure ClearUnicodeStringBuffer(var Buffer: TBytes; Offset: Integer)

Parameters:

  • Buffer:
  • Offset:

CurrencyToBuffer

class procedure CurrencyToBuffer(const Value: Currency; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

DoubleToBuffer

class procedure DoubleToBuffer(const Value: Double; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

DuplicateBlob

class function DuplicateBlob(const Buffer: TBytes; Offset: Integer): TBytes

Parameters:

  • Buffer:
  • Offset:

ExtendedToBuffer

class procedure ExtendedToBuffer(const Value: Extended; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

ExtractFieldData (TBytes, Integer, Integer, TFieldType, Boolean): TBytes  overload

class function ExtractFieldData(const SourceBuffer: TBytes; Offset: Integer; DataSize: Integer; DataType: TFieldType; StoreStringsAsReference: Boolean): TBytes

Parameters:

  • SourceBuffer:
  • Offset:
  • DataSize:
  • DataType:
  • StoreStringsAsReference:

ExtractFieldData (TBytes, Integer, Integer, TFieldType, Boolean, Pointer)  overload

class procedure ExtractFieldData(const Buffer: TBytes; Offset: Integer; DataSize: Integer; DataType: TFieldType; StoreStringsAsReference: Boolean; Dest: Pointer)

Parameters:

  • Buffer:
  • Offset:
  • DataSize:
  • DataType:
  • StoreStringsAsReference:
  • Dest:

ExtractFieldData (TBytes, Integer, Integer, TFieldType, Boolean, TBytes)  overload

class procedure ExtractFieldData(const SourceBuffer: TBytes; Offset: Integer; DataSize: Integer; DataType: TFieldType; StoreStringsAsReference: Boolean; var DestBuffer: TBytes)

Parameters:

  • SourceBuffer:
  • Offset:
  • DataSize:
  • DataType:
  • StoreStringsAsReference:
  • DestBuffer:

GetNullMask

class function GetNullMask(Buffer: TBytes; const Index: Integer): Boolean

Parameters:

  • Buffer:
  • Index:

GuidToBuffer

class procedure GuidToBuffer(const Value: TBytes; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

Int64ToBuffer

class procedure Int64ToBuffer(const Value: Int64; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

IntegerToBuffer

class procedure IntegerToBuffer(const Value: Integer; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

SetNullMask

class procedure SetNullMask(Buffer: TBytes; const Index: Integer; const Value: Boolean)

Parameters:

  • Buffer:
  • Index:
  • Value:

ShortIntToBuffer

class procedure ShortIntToBuffer(const Value: ShortInt; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

SingleToBuffer

class procedure SingleToBuffer(const Value: Single; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

SmallIntToBuffer

class procedure SmallIntToBuffer(const Value: SmallInt; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

SQLTimeStampToBuffer

class procedure SQLTimeStampToBuffer(const Value: TSQLTimeStamp; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

UInt64ToBuffer

class procedure UInt64ToBuffer(const Value: UInt64; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset:

UnicodeStringToBuffer

class procedure UnicodeStringToBuffer(const Value: UnicodeString; var Buffer: TBytes; Offset: Integer; StoreStringsAsReference: Boolean; MaxSize: Integer; FixedChar: Boolean)

Parameters:

  • Value:
  • Buffer:
  • Offset:
  • StoreStringsAsReference:
  • MaxSize:
  • FixedChar:

UnsafeGetBytes

class function UnsafeGetBytes(Buffer: TBytes; Offset: Integer): TBytes

Parameters:

  • Buffer:
  • Offset:

UnsafeSetBytes

class procedure UnsafeSetBytes(var Buffer: TBytes; Offset: Integer; Bytes: TBytes)

Parameters:

  • Buffer:
  • Offset:
  • Bytes:

WordToBuffer

class procedure WordToBuffer(const Value: Word; var Buffer: TBytes; Offset: Integer)

Parameters:

  • Value:
  • Buffer:
  • Offset: