mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-08-30 05:40:37 +00:00
Remove duplicate code
This commit is contained in:
@@ -26,15 +26,6 @@ public class KeyboardPacket extends InputPacket {
|
||||
this.modifier = modifier;
|
||||
}
|
||||
|
||||
public byte[] toWireHeader()
|
||||
{
|
||||
ByteBuffer bb = ByteBuffer.allocate(4).order(ByteOrder.BIG_ENDIAN);
|
||||
|
||||
bb.putInt(packetType);
|
||||
|
||||
return bb.array();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] toWire() {
|
||||
ByteBuffer bb = ByteBuffer.allocate(PACKET_LENGTH).order(ByteOrder.LITTLE_ENDIAN);
|
||||
|
||||
Reference in New Issue
Block a user