/* This is at most how much we need for the output */ //计算大概所需内存为字符串尾部-头部-跳过的字节数 allocation_length = (size_t) (input_end - buffer_at_offset(input_buffer)) - skipped_bytes; //分配所需内存 output = (unsigned char*)input_buffer->hooks.allocate(allocation_length ...