Investigation brief
Preserve zero quantities during migration.
An importer needs to distinguish an existing item with zero stock from an item missing altogether. This 12-byte file supplies two records for that check.
Download stock.lda stock.lda12 bytes HEX
Field layout
| Hex offset | Length | Field | Interpretation |
|---|---|---|---|
| 00–03 | 4 bytes | Format signature | LDA1 in ASCII |
| 04–05 | 2 bytes | Record count | Unsigned 16-bit integer, little-endian |
| 06–08 | 3 bytes | First record | Identifier A and quantity 12 |
| 09–0B | 3 bytes | Second record | Identifier B and quantity 0 |
Acceptance check
The file must produce two rows. Item A must have 12 units and item B must remain present with 0 units. An importer that drops item B fails the check.
Limits of the sample
This file exercises two complete records. Testing truncated files, duplicate identifiers or quantities above 255 would require additional examples.