Ifstreamsend, Ifstreamseek – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 135

Advertising
background image

127


The ifStreamSend interface provides the following:

SetSendEol(eol_sequence As String) As Void: Sets the EOL sequence when writing to the stream.

SendByte(byte As Integer) As Void: Writes the specified byte to the stream.

SendLine(string As String) As Void: Writes the specified characters to the stream followed by the
current EOL sequence.

SendBlock(a As Dynamic) As Void: Writes the specified characters to the stream. This method can support
either a string or an

roByteArray

. If the block is a string, any null bytes will terminate the block.

Flush()

AsyncFlush()


The ifStreamSeek interface provides the following:

SeekAbsolute(offset As Integer) As Void: Seeks the specified offset. If the offset is beyond the end of
the file, then the file will be extended upon the next write and any previously unoccupied space will be filled with
null bytes.

SeekRelative(offset As Integer) As Void: Seeks to the specified offset relative to the current position. If
the ultimate offset is beyond the end of the file, then the file will be extended as described in SeekAbsolute.

SeekToEnd() As Void: Seeks to the end of the file.

CurrentPosition() As Integer: Retrieves the current position within the file.

Advertising