Method System.Memory()->pwrite16()
- Method pwrite16
intpwrite(int(0..)pos,stringdata)
intpwrite16(int(0..)pos,stringdata)
intpwrite32(int(0..)pos,stringdata)
intpwrite16i(int(0..)pos,stringdata)
intpwrite32i(int(0..)pos,stringdata)- Description
Write a string to the memory (and to the file, if it's mmap()ed). The 16 and 32 variants writes widestrings, 16 or 32 bits (2 or 4 bytes) wide, the 'i' variants in intel byteorder, the other in network byteorder.
returns the number of bytes (not characters) written