Kbase 20689: How Progress Stores Data
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/01/2008 |
|
Status: Unverified
GOAL:
How Progress Stores Data
FIX:
A record is stored as a two-byte length followed by a number of fields.
A field is stored in one of three forms:
- A single byte that contains a special value such as "unknown", or zero for an integer whose value is zero.
- A one byte length followed by n bytes of data.
Integers are stored as a one byte length and one to five bytes of data (depending on how much is needed to store the value).
- A one byte "long field" indicator, followed by a two byte length, followed by n bytes of data.