Home | All Classes | Grouped Classes | Index | Search

# Class CL_InputSource_NetPacket

InputSource NetPacket Class More...

Derived from: CL_InputSource
Derived by: none
Group: Network (NetSessions)

#include <ClanLib/network.h>

Construction:

CL_InputSource_NetPacket | InputSource NetPacket Constructor

Attributes:

tell | Returns current position in input source.
size | Returns the size of the input source

Operations:

read | Reads larger amounts of data (no endian and 64 bit conversion).
open | Opens the input source. By default, it is open.
close | Closes the input source.
clone | Make a copy of the current inputsource, standing at the same position.
seek | Seeks to the specified position in the input source.
push_position | Pushes the current input source position. The position can be restored again with pop_position.
pop_position | Pops a previous pushed input source position (returns to the position).

Detailed description:

!group=Network/NetSessions! !header=network.h!
Questions or comments, write to the ClanLib mailing list.