Experiencing a failure when converting from a string value to a byte array. Not sure if I am doing something wrong, or if perhaps the intent is to register an extension for this use case (perhaps for an encoding selection?). Or perhaps there is no array support? Here's the implementation:
// Where type is a byte[], and value is a string
Object converted = TypeConverter.convert( type, value );
// Thrown
IllegalArgumentException: Could not find type conversion for type "class [B" (value = "1111111")
Nice library BTW. I have been building libraries for eons and for whatever reason, this one always ends up being a something that I shim up "for now". Thanks!
Monte
Experiencing a failure when converting from a string value to a byte array. Not sure if I am doing something wrong, or if perhaps the intent is to register an extension for this use case (perhaps for an encoding selection?). Or perhaps there is no array support? Here's the implementation:
Nice library BTW. I have been building libraries for eons and for whatever reason, this one always ends up being a something that I shim up "for now". Thanks!
Monte