IO_METHOD(IoSeq, asUCS2) { /*doc Sequence asUCS2 Returns a new copy of the receiver converted to UCS2 (fixed character width UTF16) encoding. */ return IoSeq_newWithUArray_copy_(IOSTATE, UArray_asUCS2(DATA(self)), 0); }
IoObject *IoSeq_asUCS2(IoSeq *self, IoObject *locals, IoMessage *m) { /*doc Sequence asUCS2 Returns a new copy of the receiver converted to UCS2 (fixed character width UTF16) encoding. */ return IoSeq_newWithUArray_copy_(IOSTATE, UArray_asUCS2(DATA(self)), 0); }