Wolfram Library Archive

All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

FastBinaryFiles: A MathLink Program for Fast Reading and Writing of Binary Files

Todd Gayley
Organization: Wolfram Research, Inc.
Department: Kernel Technology
John Fultz
Organization: Wolfram Research, Inc.
Department: Director of User Interface Technology
Old MathSource #

Revision date


FastBinaryFiles is a MathLink program and Mathematica package for fast reading and writing of binary files. It is intended as a replacement for the standard package Utilities`BinaryFiles`, which is slow. A ready-to-run executable is available for Mac, Power Macintosh, and Windows (note that binary.zip contains a separate executable, binary22.exe, for Mathematica 2.2 users). Unix users will have to build the program from the single source file, binary.tm. Note that there is no separate package (.m) file. If you want to use the program on Mac or Windows, the executable is all you need. If you want to compile it on your own, the C source file binary.tm is all you need. You need Mathematica version 2.2.2 or later to use FastBinaryFiles. This program is discussed more fully in Volume 4, Issue 2 of The Mathematica Journal.

*Mathematica Technology > Front End > Importing
*Mathematica Technology > Linking Technology > MathLink

Binary Files, binary data, interfacing, data importing data, MathLink, input, output, The Mathematica Journal

README.txt (8.8 KB) - Text file
FastBinaryFiles_PPC.sea.hqx (181.7 KB) - Macintosh archive
binary.sit.hqx (83.7 KB) - Macintosh archive
binary.tm (88.2 KB) - Unknown MIME type
binary.zip (76.9 KB) - ZIP archive

Translate this page: