method

truncate

v1_8_7_72 - Show latest stable - Class: StringIO
truncate(p1)
public

Truncates the buffer string to at most integer bytes. The strio must be opened for writing.