mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-19 07:10:58 +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