Cuts off the end of the GString, leaving the first @len bytes.
the new size of @string
@string
See Implementation
Cuts off the end of the GString, leaving the first @len bytes.