get TextEncoder/TextDecoder from JSM so 'length' defined on array from buffer of array from TextEncoder