src/vs/workbench/services/extensions/common/rpcProtocol.ts/MessageBuffer/sizeLongString
class MessageBuffer:	public static sizeLongString(str: VSBuffer): number {
		return 4 /* string length */ + str.byteLength /* actual string */;
	}