How to Load Binary Protocol Buffer Data in Angular

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