Browse Source

added getText()

ncannasse 10 years ago
parent
commit
d8dfe4b095
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hxd/fs/FileEntry.hx

+ 2 - 0
hxd/fs/FileEntry.hx

@@ -14,6 +14,8 @@ class FileEntry {
 
 	public function getBytes() : haxe.io.Bytes return null;
 
+	public function getText() return getBytes().toString();
+
 	public function getTmpBytes() return getBytes();
 
 	public function open() { }