code: public static byte [][] toByteArrays(final String [] t) {
      byte [][] result = new byte[t.length][];
      for (int i = 0; i < t.length; i++) {
        result[i] = Bytes.toBytes(t[i]);
      }
      return result;
    }
docs: Returns an array of byte arrays made from passed array of Text.
  @param t operands
  @return Array of byte arrays made from passed array of Text