mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-04 06:56:06 +00:00
Remove duplicate code
This commit is contained in:
@@ -25,15 +25,6 @@ public class KeyboardPacket extends InputPacket {
|
||||
this.keyDirection = keyDirection;
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user