public class RakNetUtils extends Object
| Constructor and Description |
|---|
RakNetUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
clamp(int value,
int low,
int high) |
static int |
powerOfTwoCeiling(int value) |
static boolean |
verifyUnconnectedMagic(io.netty.buffer.ByteBuf buffer) |
static int |
writeIntRanges(io.netty.buffer.ByteBuf buffer,
Queue<IntRange> ackQueue,
int mtu) |
static void |
writeUnconnectedMagic(io.netty.buffer.ByteBuf buffer) |
public static int writeIntRanges(io.netty.buffer.ByteBuf buffer,
Queue<IntRange> ackQueue,
int mtu)
public static boolean verifyUnconnectedMagic(io.netty.buffer.ByteBuf buffer)
public static void writeUnconnectedMagic(io.netty.buffer.ByteBuf buffer)
public static int clamp(int value,
int low,
int high)
public static int powerOfTwoCeiling(int value)
Copyright © 2018–2022. All rights reserved.