stream

Contents

Name Description
getpipe( )

Get the pipe from this stream.

readdata( size )

Read some data from the stream

readdouble( )

Read double percision float from the stream

readint( )

Read an integer from the stream

readstring( )

Read a string from the stream

setpipe( pipe )

Sets the pipe for the stream.

writedata( data )

Write some data to the stream

writedouble( d )

Write a double percision float to the stream

writeint( i )

Write an integer to the stream

writestring( s )

Write a string to the stream


getpipe( )

Get the pipe from this stream.

Gets the pipe from this stream, using the return value can be used with setpipe() later to identify clients of a PAIR pipe

Returns

Defined at shared/lua_api/load_net.cpp:251


readdata( number size )

Read some data from the stream

Parameters
Returns

Defined at shared/lua_api/load_net.cpp:181


readdouble( )

Read double percision float from the stream

Returns

Defined at shared/lua_api/load_net.cpp:165


readint( )

Read an integer from the stream

Returns

Defined at shared/lua_api/load_net.cpp:145


readstring( )

Read a string from the stream

Returns

Defined at shared/lua_api/load_net.cpp:199


setpipe( pipe pipe )

Sets the pipe for the stream.

Sets the pipe for the stream, so that content is delivered to a specific client.

Parameters

Defined at shared/lua_api/load_net.cpp:268


writedata( string data )

Write some data to the stream

Parameters
Returns

Defined at shared/lua_api/load_net.cpp:286


writedouble( number d )

Write a double percision float to the stream

Parameters

Defined at shared/lua_api/load_net.cpp:233


writeint( number i )

Write an integer to the stream

Parameters

Defined at shared/lua_api/load_net.cpp:215


writestring( string s )

Write a string to the stream

Parameters

Defined at shared/lua_api/load_net.cpp:305