removing starting and buffer length from buf.toString (falling back to default)