Clean info of a Byte array!!! =S
843810May 26 2005 — edited May 27 2005Hi
First sorry for my english, i dont learn at all yet
Im using an byte array
byte[] receiveBuffer = new byte[BUFFER_SIZE];
BUFFER_SIZE<-- this is constant
But receiveBuffer is inside of a loop waiting to catch the next information, but if I catch a long quantity of information it is noerase when i catch a minor quantity of it.
So for this is that i must clean the "receiveBuffer " array
I hope that someone help me, i really need this, or if some knows an alternative it will be helpful
Thanks a lot =)