public Object decodeBinary(final Class<?> targetType, final byte[] bytes) throws DecodeException {
List<InstanceHandle<? extends Decoder>> decoders = binaryDecoders.get(targetType);
if (decoders != null) {
for (InstanceHandle<? extends Decoder> decoderHandle : decoders) {
Decoder decoder = decoderHandle.getInstance();
if (decoder instanceof Decoder.Binary) {
if (((Decoder.Binary) decoder).willDecode(ByteBuffer.wrap(bytes))) {
return ((Decoder.Binary) decoder).decode(ByteBuffer.wrap(bytes));
}
} else {