class BNetBuffer : public BArchivable

Dynamic buffer for storing data to be sent across the network.

BNetBuffer is a dynamic buffer useful for storing data to be sent across the network. Data is inserted into and removed from the object using one of the many Appendwhatever() and Removewhatever() member functions.

Access to the raw stored data is possible.

The BNetEndpoint class has send and recv functions for use with BNetBuffer.

Network byte order conversion is done automatically for all appropriate integral types in the append and remove functions for that type.

NOTE: It is important to call InitCheck() after creating an instance of this class, to verify that the initialization completed without problems.

Members: