ServerJS/IO/A: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
Line 48: Line 48:
:Write bytes from the  
:Write bytes from the  


;isReadable() Boolean
;readable() Boolean
:Returns true if the stream supports reading, false otherwise.
:Returns true if the stream supports reading, false otherwise.


;isWritable() Boolean
;writable() Boolean
:Returns true if the stream supports writing, false otherwise.
:Returns true if the stream supports writing, false otherwise.


;isSeekable() Boolean
;seekable() Boolean
:Returns true if the stream supports the length and position properties, false otherwise. '''''Note''': we're not impelementing seek(), so should we find another term for this, too?''
:Returns true if the stream supports the length and position properties, false otherwise. '''''Note''': we're not impelementing seek(), so should we find another term for this, too?''


;isOpen() Boolean
;closed() Boolean
:Returns true if the stream is open.
:Returns true if the stream is closed, false otherwise..


;flush()
;flush()
55

edits

Navigation menu