Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Clean info of a Byte array!!! =S

843810May 26 2005 — edited May 27 2005
Hi

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 =)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 24 2005
Added on May 26 2005
2 comments
190 views