Changeset 33670 in project


Ignore:
Timestamp:
09/22/16 20:15:53 (5 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [201.250.188.147]:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/msgpack

    r33669 r33670  
    5959==== Definition:
    6060
    61 A extension type is simply a three element list (header type data):
     61<record>(extension type data)</record>
    6262
    63 * header: 'ext symbol
    6463* type: integer from 0 to 127
    6564* data: a byte-blob
    66 
    67 
    68 <enscript highlight="scheme">
    69 (list 'ext TYPE DATA)
    70 </enscript>
    71 
    7265
    7366==== Example:
    7467
    7568<enscript highlight="scheme">
    76 (list 'ext 1 ,(string->byte-blob "hi"))
     69(make-extension 1 (string->byte-blob "hi"))
    7770</enscript>
    7871
Note: See TracChangeset for help on using the changeset viewer.