(NS_CONST_CAST(PRUnichar *, outer->get()), NS_CONST_CAST(PRUnichar *, outer->get() + outer->Length()), mAllocator),
(NS_REINTERPRET_CAST(PRUnichar *, JS_GetStringChars(str)), NS_REINTERPRET_CAST(PRUnichar *, JS_GetStringChars(str) + JS_GetStringLength(str)), mAllocator),
        WrapperBufferHandle(XPCReadableJSStringWrapper *outer, JSString *str) :            nsSharedBufferHandleWithAllocator<PRUnichar>                (NS_CONST_CAST(PRUnichar *, outer->get()),                 NS_CONST_CAST(PRUnichar *, outer->get() + outer->Length()),                 mAllocator),            mAllocator(str)        { }