docs: static byte[] append(byte[] data, byte[] toAppend) {
  
          ByteArrayOutputStream stream = new ByteArrayOutputStream();
          try {
              stream.write(data);
              stream.write(toAppend);
          } catch (IOException e) {
              e.printStackTrace();
          }
          return stream.toByteArray();
      }