W3cubDocs

/Haxe Python

IOBase

package python.lib.io

extended by BufferedIOBase, RawIOBase, TextIOBase

@:pythonImport("io","IOBase") Available on python

Variables

read only closed:Bool

Methods

close ():Void

fileno ():Int

flush ():Void

readable ():Bool

@:value({ limit : -1 }) readline (limit:Int = -1):String

@:value({ hint : -1 }) readlines (hint:Int = -1):Array<String>

seek (offset:Int, whence:SeekSet):Int

seekable ():Bool

tell ():Int

truncate (size:Int):Int

writable ():Bool

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/lib/io/IOBase.html