alien.endian vocabulary
Factor handbook ยป Vocabulary index


Documentation
Alien endian-aware types

Metadata
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
invalid-signed-conversion tuplen
unknown-endian-c-type tuplesymbol
unsupported-endian-type tupleendian slot


Parsing words
WordSyntax
BE-PACKED-STRUCT:
BE-STRUCT:
LE-PACKED-STRUCT:
LE-STRUCT:


Macro words
WordStack effect
byte-reverse( n signed? -- quot )


Symbol words
be16
be32
be64
be8
le16
le32
le64
le8
ube16
ube32
ube64
ube8
ule16
ule32
ule64
ule8


Ordinary words
WordStack effect
change-c-type-accessors( n ? c-type -- c-type' )
convert-signed-quot( n -- quot )
define-endian-packed-struct-class( class slots endian -- )
define-endian-struct-class( class slots endian -- )
endian-c-type>c-type-symbol( symbol -- symbol' )
endian-c-type?( symbol -- ? )
endian-slot( endian c-type pair -- endian-slot )
invalid-signed-conversion( n -- * )
pair>c-type( pair -- c-type )
set-endian-slots( endian slots -- slot-specs )
slot>endian-slot( endian slot -- endian-slot )
typedef-be( n ? c-type -- )
typedef-endian( n ? c-type endian -- )
typedef-le( n ? c-type -- )
unknown-endian-c-type( symbol -- * )
unsupported-endian-type( endian slot -- * )


Class predicate words
WordStack effect
invalid-signed-conversion?( object -- ? )
unknown-endian-c-type?( object -- ? )
unsupported-endian-type?( object -- ? )


Files


Metadata files