50        $packet->reliability = $reliability = ($flags & self::RELIABILITY_FLAGS) >> self::RELIABILITY_SHIFT;
 
   51        $hasSplit = ($flags & self::SPLIT_FLAG) !== 0;
 
   53        $length = (int) ceil($stream->
getShort() / 8);
 
   58        if(PacketReliability::isReliable($reliability)){
 
   59            $packet->messageIndex = $stream->
getLTriad();
 
   62        if(PacketReliability::isSequenced($reliability)){
 
   63            $packet->sequenceIndex = $stream->
getLTriad();
 
   66        if(PacketReliability::isSequencedOrOrdered($reliability)){
 
   67            $packet->orderIndex = $stream->
getLTriad();
 
   68            $packet->orderChannel = $stream->
getByte();
 
   72            $splitCount = $stream->
getInt();
 
   74            $splitIndex = $stream->
getInt();
 
   75            $packet->splitInfo = 
new SplitPacketInfo($splitID, $splitIndex, $splitCount);
 
   78        $packet->buffer = $stream->
get($length);