22.12.2013 Views

Roku Object Reference - imaginArt

Roku Object Reference - imaginArt

Roku Object Reference - imaginArt

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

o Writes the specified characters to the stream. Any null bytes will terminate the block.<br />

The ifStreamSeek interface provides:<br />

• SeekAbsolute(offset As Integer) As Void<br />

o Seeks to the specified offset. If the offset is beyond the end of the file, then the file will be<br />

extended upon the next write and any previously unoccupied space will be filled with null<br />

bytes.<br />

• SeekRelative(offset As Integer) As Void<br />

o Seeks to the specified offset relative to the current position. If the ultimate offset is beyond the<br />

end of the file, then the file will be extended as described in SeekAbsolute.<br />

• SeekToEnd() As Void<br />

o Seeks to the end of the file.<br />

• CurrentPosition() As Integer<br />

o Retrieves the current position within the file.<br />

The ifFile interface provides:<br />

• Flush() As Void<br />

o Ensures that all writes have been written out to the file. This is done automatically when the<br />

object is destroyed (for example, by reassigning the variable containing it).<br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!