#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Sat, 21 Apr 2018 11:15:58 +0200
changeset 22685 fc5c7d36f46f
parent 22684 2d3d83732eaf
child 22686 977432cc6ce8
#FEATURE by cg class: Filename added: #binaryContents
Filename.st
--- a/Filename.st	Fri Apr 20 16:18:05 2018 +0200
+++ b/Filename.st	Sat Apr 21 11:15:58 2018 +0200
@@ -6182,6 +6182,14 @@
 
 !Filename methodsFor:'reading-files'!
 
+binaryContents
+    "an alias.
+     return the binary contents of the file (as a byteArray);
+     Raises an error, if the file is unreadable/non-existing."
+
+    ^ self binaryContentsOfEntireFile
+!
+
 binaryContentsOfEntireFile
     "return the binary contents of the file (as a byteArray);
      Raises an error, if the file is unreadable/non-existing."