write a UTF-8 string at the given byte offset; returns bytes written
import "RawData" data = new RawData data.resize 16 bytesWritten = data.setUtf8(0, "hello") print bytesWritten // 5 print data.utf8(0, 5) // "hello"
There was an error while loading. Please reload this page.