I'll do some more testing but no, that is not what I am seeing.

At least when I do:

newblob.length().

This returns 200 bytes.

I haven't actually done anything beyond that yet.

My slice is actually original.slice(50, 100);

I expected the length of the slice to return 50, but it is returning
100.

Chris....

On Jul 8, 5:01 pm, Michael Nordman <[email protected]> wrote:
> The new blob should be clipped at 100 bytes. Is that not what your seeing?
>
> On Wed, Jul 8, 2009 at 1:48 PM, Chris <[email protected]> wrote:
>
> > What is defined for the "extra" portion of a blob if I create a slice
> > larger than the orignal blob?
>
> > For example.
>
> >  Blob original = somehow get a blob 100 bytes long
>
> >  Blob newblob = original.slice(0, 200);
>
> > My newblob is 200 bytes long; what is in the second 100 bytes?  I was
> > half expecting an exception to be thrown.
>
> > Thanks,
> > Chris....
>
>

Reply via email to