DK for Delphi | GisClasses.TGIS_Bytes | Classes | Constructors | Methods | Properties
Buffer wrapper that provides offset-based access to bytes and typed values.
// Delphi type TGIS_Bytes = class end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_Bytes
| Name | Visibility | Description | |
|---|---|---|---|
| Create(Integer) | public | Creates a new internal buffer with the specified size. | |
| Create(Pointer; Integer; Integer) | public | Creates a buffer wrapper over an existing memory block. | |
| Destroy | public | Releases owned unmanaged memory. | |
| Name | Visibility | Description | |
|---|---|---|---|
| CopyFrom | public | Copies bytes from another buffer into the internal buffer. | |
| CopyTo | public | Copies bytes from the internal buffer to another buffer. | |
| Dec | public | Decrements a 32-bit integer value stored at the specified buffer offset. | |
| Inc | public | Increments a 32-bit integer value stored at the specified buffer offset. | |
| ReadByte | public | Reads a byte value from the specified buffer offset. | |
| ReadDouble | public | Reads a double-precision value from the specified buffer offset. | |
| ReadInt32 | public | Reads a 32-bit integer value from the specified buffer offset. | |
| ReadSingle | public | Reads a single-precision value from the specified buffer offset. | |
| ReadUInt32 | public | Reads an unsigned 32-bit integer value from the specified buffer offset. | |
| ReadWord | public | Reads a word value from the specified buffer offset. | |
| ReallocMem | public | Resizes the internal memory buffer. | |
| Recreate(Integer; Integer; Integer) | public | Recreates the internal buffer using new position and size settings. | |
| Recreate(TBytes; Integer; Integer) | public | Recreates the wrapper over the specified byte array. | |
| Reset | public | Resets the buffer state to its initial empty position. | |
| WriteByte | public | Writes a byte value at the specified buffer offset. | |
| WriteDouble | public | Writes a double-precision value at the specified buffer offset. | |
| WriteInt32 | public | Writes a 32-bit integer value at the specified buffer offset. | |