Posted by henrique on Mon 22nd Oct 20:09 (modification of post by view diff)
download | new post
- //System.out.println("numero cromatico: " + coloracaoSequencialSimples(g));
- byte[] dataEmail = new byte[10];
- String email = "[email protected]";
- try {
- byte[] emailBytes = email.getBytes("ascii");
- // dataEmail é o que tu vai mandar pela rede
- // aqui vamos supor que tu recebeu o byte e está na variável dataEmail
- int end = dataEmail.length-1;
- for ( ; end >= 0 && dataEmail[end] == (byte)0; end--);
- byte[] byteEmail = new byte[end + 1];
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.