Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

BinaryReadList

Usage

BinaryReadList["file"] reads all remaining bytes from a file, and returns them as a list of integers from 0 to 255.
BinaryReadList["file", type] reads objects of the specified type from a file, until the end of the file is reached. The list of objects read is returned.
BinaryReadList["file", { ,  , ... }] reads objects with a sequence of types, until the end of the file is reached.
BinaryReadList["file", types, n] reads only the first n objects of the specified types.


Notes

BinaryReadList supports the same types and options as BinaryRead.
• If file is not already open for reading, BinaryReadList opens it, then closes it when it is finished. If the file is already open, BinaryReadList does not close it at the end.
BinaryReadList["file", { , ... }] reads the sequence of  in order. If the end of file is reached while part way through this sequence, EndOfFile is returned in place of elements in the sequence that have not yet been read.
BinaryReadList["!command", ... ] reads from a pipe.
BinaryReadList[stream] reads from an open input stream, as returned by OpenRead with BinaryFormat->True.
• See notes for BinaryRead.
• See also: Import, BinaryRead, Export.
• New in Version 5.1.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: