From a0237a19d99a1ed4d4ca1c9dfb3f8fcd7a198e87 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 7 Apr 2014 18:51:01 -0400 Subject: [PATCH] Remove duplicate code --- .../src/com/limelight/nvstream/input/KeyboardPacket.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/moonlight-common/src/com/limelight/nvstream/input/KeyboardPacket.java b/moonlight-common/src/com/limelight/nvstream/input/KeyboardPacket.java index f0fbf901..60adbf1f 100644 --- a/moonlight-common/src/com/limelight/nvstream/input/KeyboardPacket.java +++ b/moonlight-common/src/com/limelight/nvstream/input/KeyboardPacket.java @@ -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() {