ENet Xojo plugin

ENetPacket.UInt8Value Method

Gets or sets a UInt8 value at a given offset in the packet.

UInt8Value(
   offset as Integer) as UInt8

UInt8Value(
   offset as Integer
   assigns value as UInt8)

Parameters

offset
Offset is in bytes from the beginning of the ENetPacket.
value (assignment parameter)
The value to be set

Returns

UInt8
The value at the given offset or 0 if the ENetPacket is dead because it has already been sent.

Remarks

See Also

ENetPacket Class