this.http .get('/api', {responseType: 'arraybuffer'}) .subscribe((data: ArrayBuffer) => { const instance = SomeThing.deserializeBinary(data); });