Typed Array is obsolete. Make first argument of decode() optional rather than using an overload now that is possible