remove implementation of packetTypeForPacket

This commit is contained in:
Stephen Birarda 2015-07-16 16:09:48 -07:00
parent 271575c832
commit 1a85e95f71

View file

@ -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);
}