jmkgreen/morphia — pull request #37 by washu (2013-03-10 22:39:42+00:00)
Title: Fix for issue #30

The Java driver will automatically wrap a byte[] array as a Binary bson
type.
the decoder only checked for Number and failing that used toString and
tried to make that a arrya of bytes. It was missing the check to see if
the input obejct was a Binary wrapper and call its getData method