 
 public class CNTextFileObject: CNDataFileObject, CNTextFile
 {
-	public static let 		CHUNK_SIZE = 512
 	private var mLineBuffer:	CNLineBuffer
 
 	public required init(fileHandle handle: FileHandle) {

		return mFileHandle.availableData
	}

	public func getData(ofLength len: Int) -> Data {
		return mFileHandle.readData(ofLength: len)
	}

	public func getAllData() -> Data {
		return mFileHandle.readDataToEndOfFile()
	}

			if let c = mLineBuffer.getChar() {
				return c
			} else {
				let newdata = getData()
				if newdata.count == 0 {
					/* end of file */
					close()
