src/vs/workbench/contrib/output/common/outputChannelModel.ts/FileOutputChannelModel/getByteLength
class FileOutputChannelModel:	protected getByteLength(str: string): number {
		return VSBuffer.fromString(str).byteLength;
	}