Example #1
0
  public byte[] byteSerialize() {

    byte[] face = ArrayUtil.intToByteArray(f.val());
    byte[] dir = ArrayUtil.intToByteArray(d.val());
    byte[] s = ArrayUtil.intToByteArray(slice);
    return ArrayUtil.concatenateArrays(face, dir, s);
  }