mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 21:29:49 +02:00
remove implementation of packetTypeForPacket
This commit is contained in:
parent
271575c832
commit
1a85e95f71
1 changed files with 0 additions and 8 deletions
|
@ -129,11 +129,3 @@ QString nameForPacketType(PacketType::Value packetType) {
|
|||
int numBytesForArithmeticCodedPacketType(PacketType::Value packetType) {
|
||||
return (int) ceilf((float) packetType / 255);
|
||||
}
|
||||
|
||||
PacketType::Value packetTypeForPacket(const QByteArray& packet) {
|
||||
return (PacketType::Value) arithmeticCodingValueFromBuffer(packet.data());
|
||||
}
|
||||
|
||||
PacketType::Value packetTypeForPacket(const char* packet) {
|
||||
return (PacketType::Value) arithmeticCodingValueFromBuffer(packet);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue