argh.

    buffer = out.buffer = buffer.reallocIfNeeded(outputSize);

found it in the STAsText.java example.

apologies for dev spam.

-boB

On Mon, Sep 11, 2017 at 10:32 AM, Bob Rudis <[email protected]> wrote:
> I'm working on a base64 encoding / decoding UDFs for Drill and
> building off of other, simple UDFs I've written before. If the byte
> array is larger than 256 I get:
>
>     java.lang.IndexOutOfBoundsException: index: 0, length: ####
> (expected: range(0, 256))
>
> regardless of which @Output holder I've tried.
>
> I did a quick grep on github to no avail and am curious as to what I'm
> doing wrong. And, I'm likely overlooking something.
>
> Also: is there a better searchable interface to the mailing list
> archives than adding
> "site:mail-archives.apache.org/mod_mbox/drill-dev/" to a google
> search?
>
> thx,
>
> -Bob

Reply via email to