Truncate the buffer within its extent.
true if the new length is valid, false otherwise.
See Implementation
Truncate the buffer within its extent.