How to read and entire binary file into a byte array?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to read and entire binary file into a byte array?

ching
Hi,

VisualWorks has a standard method: #contentsOfEntireBinaryFile. to read an entire binary file into a ByteArray. Is there a corresponding method in Squeak?

Thanks,

Ching

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners