User Tools

Site Tools


ocmbytecode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ocmbytecode [2023/04/23 15:05] – [Preliminary documentation for "compat" module] nopsledocmbytecode [2025/09/21 18:55] (current) nopsled
Line 59: Line 59:
  
 ===== Small numbers (tag 0): signed 16 bit numbers ===== ===== Small numbers (tag 0): signed 16 bit numbers =====
-===== Large integers (tag 1): arbitraty precision integers =====+===== Large integers (tag 1): arbitary precision integers =====
 Serialization format: Length followed by two's complement little endian representation. The length is according to ASN.1 lengths: Length is directly encoded as one byte for lengths 0..127. A length encoding starting with 128 is invalid (would mean unspecified). If the first byte of the length is above 128, subtract 128 and take that many bytes. They make up a big-endian unsigned integer. Serialization format: Length followed by two's complement little endian representation. The length is according to ASN.1 lengths: Length is directly encoded as one byte for lengths 0..127. A length encoding starting with 128 is invalid (would mean unspecified). If the first byte of the length is above 128, subtract 128 and take that many bytes. They make up a big-endian unsigned integer.
 ===== Binary blobs (tag 2) ===== ===== Binary blobs (tag 2) =====
ocmbytecode.txt · Last modified: 2025/09/21 18:55 by nopsled

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki