mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 11:33:06 +00:00
18 lines
370 B
Java
18 lines
370 B
Java
package com.limelight.nvstream.control;
|
|
|
|
public class ByteConfigTuple extends ConfigTuple {
|
|
public static final short PAYLOAD_LENGTH = 1;
|
|
|
|
public byte payload;
|
|
|
|
public ByteConfigTuple(short packetType, byte payload) {
|
|
super(packetType, PAYLOAD_LENGTH);
|
|
this.payload = payload;
|
|
}
|
|
|
|
@Override
|
|
public byte[] payloadToWire() {
|
|
return new byte[] {payload};
|
|
}
|
|
}
|