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