public byte[] getBytes(long pos, int length) throws SQLException { if(wasFreeCalled) { throw new SQLException("free() was called"); } length = verifyAndFixLength(pos, length); return ArrayUtil.getByteArrayFromList(blobData, (int)(pos - 1), length); }
public byte[] getBytes(long pos, int length) throws SQLException { if(wasFreeCalled) { throw new SQLException("free() was called"); } length = verifyAndFixLength(pos, length); return ArrayUtil.getByteArrayFromList(blobData, (int)(pos - 1), length); }
public InputStream getBinaryStream(long pos, long length) throws SQLException { if(wasFreeCalled) { throw new SQLException("free() was called"); } length = verifyAndFixLength(pos, (int)length); return new ByteArrayInputStream(ArrayUtil.getByteArrayFromList(blobData, (int)(pos - 1), (int)length)); }
public byte[] getBytes(long pos, int length) throws SQLException { if(wasFreeCalled) { throw new SQLException("free() was called"); } length = verifyAndFixLength(pos, length); return ArrayUtil.getByteArrayFromList(blobData, (int)(pos - 1), length); }
public InputStream getBinaryStream(long pos, long length) throws SQLException { if(wasFreeCalled) { throw new SQLException("free() was called"); } length = verifyAndFixLength(pos, (int)length); return new ByteArrayInputStream(ArrayUtil.getByteArrayFromList(blobData, (int)(pos - 1), (int)length)); }
public InputStream getBinaryStream(long pos, long length) throws SQLException { if(wasFreeCalled) { throw new SQLException("free() was called"); } length = verifyAndFixLength(pos, (int)length); return new ByteArrayInputStream(ArrayUtil.getByteArrayFromList(blobData, (int)(pos - 1), (int)length)); }