Method System.Memory()->pread()
- Method pread
stringpread(int(0..)pos,int(0..)len)
stringpread16(int(0..)pos,int(0..)len)
stringpread32(int(0..)pos,int(0..)len)
stringpread16i(int(0..)pos,int(0..)len)
stringpread32i(int(0..)pos,int(0..)len)
stringpread16n(int(0..)pos,int(0..)len)
stringpread32n(int(0..)pos,int(0..)len)- Description
Read a string from the memory. The 16 and 32 variants reads widestrings, 16 or 32 bits (2 or 4 bytes) wide, the i variants in intel byteorder, the normal in network byteorder, and the n variants in native byteorder.
lenis the number of characters, wide or not.posis the byte position (!).