@JRubyMethod(name = "put_string")
public IRubyObject put_string(ThreadContext context, IRubyObject offArg, IRubyObject strArg) {
long off = getOffset(offArg);
ByteList bl = strArg.convertToString().getByteList();
getMemoryIO().putZeroTerminatedByteArray(off, bl.getUnsafeBytes(), bl.begin(), bl.length());
return this;
}
@JRubyMethod(name = "write_string")
public IRubyObject write_string(ThreadContext context, IRubyObject strArg) {