USING: alien.c-types io.encodings.binary io.files io.files.temp specialized-arrays ; SPECIALIZED-ARRAY: int int-array{ 1 2 3 4 5 } "tmp" temp-file binary set-file-contents "tmp" temp-file int [ [ . ] each ] with-mapped-array