Skip to Main Content

Java Programming

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!

Remove an element from byte[] array ( without using arraycopy or others)

807605Jun 27 2007 — edited Jun 27 2007
hi all,
is there any way to remove elements from byte[] object or ByteArrayOutputStream
i can use arraycopy , but its i have an array like 700MB, so its performance issue, so i need to remove particular elemnts of byte array without copying it to another. the below java byte[] api is also not help ful.

http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Byte.html


your replies are appreciated
OS
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2007
Added on Jun 27 2007
3 comments
1,346 views