public interface IBytesConsumer
int
consume(byte[] buf, int offset, int len)
int consume(byte[] buf, int offset, int len)
Returns bytes actually consumed. A negative return value signals that the consumer is done, it refuses to eat more bytes. This should only return 0 if len is 0
Copyright © 2014. All rights reserved.