Log in

Length Data Type

int

Length fields are to specify the number of bytes in a related data field, and must immediately proceed the data field.

A Length is a positive integer. It is encoded identically to an int field.

By convention, a Length field uses the same name as its related data field, plus the suffix 'Length', e.g. Signature and SignatureLength.

Examples

ExampleValidNotes
23
00023
-23Must be positive
0Must be positive