Add. `write` method cold use slices and lihtuserdata

```lua
ctx:write(str [,index=1 [,size=#str]])
ctx:write(udata [,offset=0], size)
```