Re: [codec] org.apache.commons.codec.BinaryEncoder for ByteBuffer

2014-11-10 Thread Gary Gregory
That's a clever idea! Thank you Thomas. For now, I'll leave out any interface fiddling as it is not essential ATM. Gary On Mon, Nov 10, 2014 at 9:05 AM, Thomas Neidhart wrote: > On 11/10/2014 02:16 PM, Gary Gregory wrote: > > If we updated: > > > > public interface BinaryEncoder extends Encoder

Re: [codec] org.apache.commons.codec.BinaryEncoder for ByteBuffer

2014-11-10 Thread Thomas Neidhart
On 11/10/2014 02:16 PM, Gary Gregory wrote: > If we updated: > > public interface BinaryEncoder extends Encoder { > > /** > * Encodes a byte array and return the encoded data as a byte array. > * > * @param source > *Data to be encoded > * @return A byte a

[codec] org.apache.commons.codec.BinaryEncoder for ByteBuffer

2014-11-10 Thread Gary Gregory
If we updated: public interface BinaryEncoder extends Encoder { /** * Encodes a byte array and return the encoded data as a byte array. * * @param source *Data to be encoded * @return A byte array containing the encoded data * @throws EncoderException