fetch resources with ArrayBuffer