Class TPubFile

Unit

Declaration

type TPubFile = class(TInterfacedObject, IPubFile)

Description

A pub file (EIF, ENF, ECF, ESF)

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetFileId: Cardinal;
Public procedure SetFileId(FileId: Cardinal);
Public function GetContent: TArray<Byte>;
Public procedure SetContent(Content: TArray<Byte>);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TPubFile;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property FileId: Cardinal read GetFileId write SetFileId;
Public property Content: TArray<Byte> read GetContent write SetContent;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetFileId: Cardinal;

This item has no description.

Public procedure SetFileId(FileId: Cardinal);

This item has no description.

Public function GetContent: TArray<Byte>;

This item has no description.

Public procedure SetContent(Content: TArray<Byte>);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TPubFile object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function Deserialize(Reader: TEoReader): TPubFile;

Deserializes an instance of TPubFile from the provided TEoReader.

Parameters
Reader
The reader that the object will be deserialized from
Returns

The deserialized object

Properties

Public property ByteSize: Cardinal read GetByteSize;

The size of the data that this object was deserialized from.

Note
0 if the instance was not created by the Deserialize method.

Public property FileId: Cardinal read GetFileId write SetFileId;

Note
Value range is 0-252

Public property Content: TArray<Byte> read GetContent write SetContent;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.