414415416417418419420421
return new Binary(bos.toByteArray()); } catch (IOException e) { throw new TypeConversionException(Primitive.ANY, e); } }
434435436437438439440441442443444
{ oid.read(is, -1); } catch (IOException e) { throw new TypeConversionException(Primitive.ANY, e); } finally { IOUtil.close(is); }
21102111211221132114211521162117211821192120
{ list = new InstanceArrayList(Arrays.asList((Object[])value)); } else { throw new TypeConversionException(type); } for (int i = 0, n = list.getCount(); i < n; ++i) { type.convert(list.get(i));
1763176417651766176717681769177017711772
{ Converter converter = s_converterArray[fromType.getOrdinal() * Primitive.MAX_COUNT + toType.getOrdinal()]; if (converter == null) { throw new TypeConversionException(toType); } return converter; }