Introduction
Here is the source code for Main.java
Source
//package com.java2s;
import java.nio.ByteBuffer;
public class Main {
public static byte[] getMessage(char move, long frame, int playerId) {
return ByteBuffer.allocate(14).putChar(move).putLong(frame).putInt(playerId).array();
}
}