{"id":3238,"date":"2025-01-28T07:35:13","date_gmt":"2025-01-28T07:35:13","guid":{"rendered":"https:\/\/www.skybridgeinfotech.com\/blog\/?p=3238"},"modified":"2025-02-07T07:36:02","modified_gmt":"2025-02-07T07:36:02","slug":"access-pdf-from-buffer-stream-using-next-js-without-any-library","status":"publish","type":"post","link":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/","title":{"rendered":"Access PDF from Buffer stream using Next.js without any library"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Access PDF from Buffer stream using Next.js without any library<\/strong><\/h2>\n\n\n\n<p>I am going to explain how to access a PDF from a buffer stream without any external libraries.<\/p>\n\n\n\n<p>In my case, the buffer stream is coming from the API end and processing the PDF stream in Next.js code.<\/p>\n\n\n\n<p>I have created the below handler function to process PDF stream data from the API.<\/p>\n\n\n\n<p>I have passed required parameters to the separate API services file and set up required response headers.<\/p>\n\n\n\n<p>The above one is my API services file, and I passed the required params and Axios response type added as <strong>ArrayBuffer<\/strong> because in my case, the PDF response type is <strong>ArrayBuffer, <\/strong>and if the response is Blob, then we need to set it as <strong>Blob<\/strong> as the Axios response.<\/p>\n\n\n\n<p>I updated my API file header content-type as<strong> &#8216;application\/pdf and\u00a0response type<\/strong>\u00a0as <strong>\u2018arraybuffer\u2019<\/strong> like below:<\/p>\n\n\n\n<p>Then I set up my handler function header and response types like below:<\/p>\n\n\n\n<p>I updated content-type to<strong> &#8216;application\/pdf&#8217; <\/strong>andupdated the file name.\u00a0I used<strong> the Buffer.from()\u00a0<\/strong>method and passed the API buffer stream, and the Buffer.from() method creates a new buffer filled with the specified string, array, or buffer.<\/p>\n\n\n\n<p>Finally, I called the created handler in my <strong>PdfDocument.tsx<\/strong> file like below with the required header and response type.<\/p>\n\n\n\n<p>Once the response is received from the API, then a new blob is created with the required response data.<\/p>\n\n\n\n<p>I used an iframe to display the PDF in the browser as shown below:<\/p>\n\n\n\n<p>Finally, a browser window opens up with the PDF we expected.<\/p>\n\n\n\n<p>So, without any PDF library, we can show PDFs to use this way!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Access PDF from Buffer stream using Next.js without any library I am going to explain how to access a PDF [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3241,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"blog-details.php","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[870,819,17,25,21],"tags":[898,912,904,799,911,903,801,914,907,802,913,908,808,809,906,812,813,905,817,818,901,822,823,902,925,941,942,943,923,936,937,922,924,934,935,932,933,926,928,939,921,927,929,919,920,938,940,918,917,930,931,900,916,910,899,915,909],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Access PDF from Buffer stream using Next.js without any library<\/title>\r\n<meta name=\"description\" content=\"Access PDF from Buffer stream using Next.js without any library - Skybridge Infotech USA India Sitecore Certified Company\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Access PDF from Buffer stream using Next.js without any library\" \/>\r\n<meta property=\"og:description\" content=\"Access PDF from Buffer stream using Next.js without any library - Skybridge Infotech USA India Sitecore Certified Company\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/\" \/>\r\n<meta property=\"og:site_name\" content=\"Skybridge\" \/>\r\n<meta property=\"article:published_time\" content=\"2025-01-28T07:35:13+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2025-02-07T07:36:02+00:00\" \/>\r\n<meta property=\"og:image\" content=\"http:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg\" \/>\r\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\r\n\t<meta property=\"og:image:height\" content=\"800\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\r\n<meta name=\"author\" content=\"admin\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:title\" content=\"Access PDF from Buffer stream using Next.js without any library\" \/>\r\n<meta name=\"twitter:description\" content=\"Access PDF from Buffer stream using Next.js without any library - Skybridge Infotech USA India Sitecore Certified Company\" \/>\r\n<meta name=\"twitter:image\" content=\"https:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/#\/schema\/person\/0f15f3349a8eea9f6c89ae7dac0f3cbc\"},\"headline\":\"Access PDF from Buffer stream using Next.js without any library\",\"datePublished\":\"2025-01-28T07:35:13+00:00\",\"dateModified\":\"2025-02-07T07:36:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/\"},\"wordCount\":288,\"publisher\":{\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg\",\"keywords\":[\"artificial intelligence business consulting\",\"artificial intelligence business consulting in india\",\"artificial intelligence business consulting in usa\",\"artificial intelligence consulting services\",\"artificial intelligence consulting services in india\",\"artificial intelligence consulting services in usa\",\"artificial intelligence developer\",\"artificial intelligence developer in india\",\"artificial intelligence developer in usa\",\"artificial intelligence developers\",\"artificial intelligence developers in india\",\"artificial intelligence developers in usa\",\"artificial intelligence expert\",\"artificial intelligence expert in india\",\"artificial intelligence expert in usa\",\"artificial intelligence experts\",\"artificial intelligence experts in india\",\"artificial intelligence experts in usa\",\"artificial intelligence service providers\",\"artificial intelligence service providers in india\",\"artificial intelligence service providers in usa\",\"artificial intelligence services companies\",\"artificial intelligence services companies in india\",\"artificial intelligence services companies in usa\",\"microsoft power apps development\",\"microsoft power apps services\",\"microsoft power apps services in india\",\"microsoft power apps services in usa\",\"microsoft powerapp company\",\"microsoft powerapp company in india\",\"microsoft powerapp company in usa\",\"microsoft powerapp service\",\"microsoft powerapp services\",\"microsoft powerapp services in india\",\"microsoft powerapp services in usa\",\"power app development company in india\",\"power app development company in usa\",\"power apps companies in india\",\"power apps development services\",\"power apps implementation services\",\"powerapp companies in usa\",\"powerapp implementation services in india\",\"powerapp implementation services in usa\",\"powerapps consulting companies\",\"powerapps consulting services\",\"powerapps consulting services in india\",\"powerapps consulting services in usa\",\"powerapps development company\",\"powerapps development services\",\"powerapps development services in india\",\"powerapps development services in usa\",\"salesforce artificial intelligence services\",\"salesforce artificial intelligence services in india\",\"salesforce artificial intelligence services in usa\",\"sitecore artificial intelligence services\",\"sitecore artificial intelligence services in india\",\"sitecore artificial intelligence services in usa\"],\"articleSection\":[\"AI Services\",\"Artificial Intelligence Services\",\"Data Science\",\"ML\",\"Power BI\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/\",\"url\":\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/\",\"name\":\"Access PDF from Buffer stream using Next.js without any library\",\"isPartOf\":{\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg\",\"datePublished\":\"2025-01-28T07:35:13+00:00\",\"dateModified\":\"2025-02-07T07:36:02+00:00\",\"description\":\"Access PDF from Buffer stream using Next.js without any library - Skybridge Infotech USA India Sitecore Certified Company\",\"breadcrumb\":{\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#primaryimage\",\"url\":\"https:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg\",\"contentUrl\":\"https:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg\",\"width\":1200,\"height\":800,\"caption\":\"Access PDF from Buffer stream using Next.js without any library\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.skybridgeinfotech.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Access PDF from Buffer stream using Next.js without any library\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/#website\",\"url\":\"https:\/\/www.skybridgeinfotech.com\/blog\/\",\"name\":\"Skybridge\",\"description\":\"Skybridge\",\"publisher\":{\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.skybridgeinfotech.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/#organization\",\"name\":\"Skybridge\",\"url\":\"https:\/\/www.skybridgeinfotech.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2024\/02\/logo.png\",\"contentUrl\":\"http:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2024\/02\/logo.png\",\"width\":197,\"height\":73,\"caption\":\"Skybridge\"},\"image\":{\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/#\/schema\/person\/0f15f3349a8eea9f6c89ae7dac0f3cbc\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.skybridgeinfotech.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/118323199c026a712094dacfeb0b28dc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/118323199c026a712094dacfeb0b28dc?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/www.skybridgeinfotech.com\/blog\"],\"url\":\"https:\/\/www.skybridgeinfotech.com\/blog\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Access PDF from Buffer stream using Next.js without any library","description":"Access PDF from Buffer stream using Next.js without any library - Skybridge Infotech USA India Sitecore Certified Company","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/","og_locale":"en_US","og_type":"article","og_title":"Access PDF from Buffer stream using Next.js without any library","og_description":"Access PDF from Buffer stream using Next.js without any library - Skybridge Infotech USA India Sitecore Certified Company","og_url":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/","og_site_name":"Skybridge","article_published_time":"2025-01-28T07:35:13+00:00","article_modified_time":"2025-02-07T07:36:02+00:00","og_image":[{"width":1200,"height":800,"url":"http:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_title":"Access PDF from Buffer stream using Next.js without any library","twitter_description":"Access PDF from Buffer stream using Next.js without any library - Skybridge Infotech USA India Sitecore Certified Company","twitter_image":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#article","isPartOf":{"@id":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/"},"author":{"name":"admin","@id":"https:\/\/www.skybridgeinfotech.com\/blog\/#\/schema\/person\/0f15f3349a8eea9f6c89ae7dac0f3cbc"},"headline":"Access PDF from Buffer stream using Next.js without any library","datePublished":"2025-01-28T07:35:13+00:00","dateModified":"2025-02-07T07:36:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/"},"wordCount":288,"publisher":{"@id":"https:\/\/www.skybridgeinfotech.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#primaryimage"},"thumbnailUrl":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg","keywords":["artificial intelligence business consulting","artificial intelligence business consulting in india","artificial intelligence business consulting in usa","artificial intelligence consulting services","artificial intelligence consulting services in india","artificial intelligence consulting services in usa","artificial intelligence developer","artificial intelligence developer in india","artificial intelligence developer in usa","artificial intelligence developers","artificial intelligence developers in india","artificial intelligence developers in usa","artificial intelligence expert","artificial intelligence expert in india","artificial intelligence expert in usa","artificial intelligence experts","artificial intelligence experts in india","artificial intelligence experts in usa","artificial intelligence service providers","artificial intelligence service providers in india","artificial intelligence service providers in usa","artificial intelligence services companies","artificial intelligence services companies in india","artificial intelligence services companies in usa","microsoft power apps development","microsoft power apps services","microsoft power apps services in india","microsoft power apps services in usa","microsoft powerapp company","microsoft powerapp company in india","microsoft powerapp company in usa","microsoft powerapp service","microsoft powerapp services","microsoft powerapp services in india","microsoft powerapp services in usa","power app development company in india","power app development company in usa","power apps companies in india","power apps development services","power apps implementation services","powerapp companies in usa","powerapp implementation services in india","powerapp implementation services in usa","powerapps consulting companies","powerapps consulting services","powerapps consulting services in india","powerapps consulting services in usa","powerapps development company","powerapps development services","powerapps development services in india","powerapps development services in usa","salesforce artificial intelligence services","salesforce artificial intelligence services in india","salesforce artificial intelligence services in usa","sitecore artificial intelligence services","sitecore artificial intelligence services in india","sitecore artificial intelligence services in usa"],"articleSection":["AI Services","Artificial Intelligence Services","Data Science","ML","Power BI"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/","url":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/","name":"Access PDF from Buffer stream using Next.js without any library","isPartOf":{"@id":"https:\/\/www.skybridgeinfotech.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#primaryimage"},"image":{"@id":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#primaryimage"},"thumbnailUrl":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg","datePublished":"2025-01-28T07:35:13+00:00","dateModified":"2025-02-07T07:36:02+00:00","description":"Access PDF from Buffer stream using Next.js without any library - Skybridge Infotech USA India Sitecore Certified Company","breadcrumb":{"@id":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#primaryimage","url":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg","contentUrl":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2025\/01\/Access-PDF-from-Buffer-stream-using-Next.js-without-any-library.jpg","width":1200,"height":800,"caption":"Access PDF from Buffer stream using Next.js without any library"},{"@type":"BreadcrumbList","@id":"https:\/\/www.skybridgeinfotech.com\/blog\/access-pdf-from-buffer-stream-using-next-js-without-any-library\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.skybridgeinfotech.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Access PDF from Buffer stream using Next.js without any library"}]},{"@type":"WebSite","@id":"https:\/\/www.skybridgeinfotech.com\/blog\/#website","url":"https:\/\/www.skybridgeinfotech.com\/blog\/","name":"Skybridge","description":"Skybridge","publisher":{"@id":"https:\/\/www.skybridgeinfotech.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.skybridgeinfotech.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.skybridgeinfotech.com\/blog\/#organization","name":"Skybridge","url":"https:\/\/www.skybridgeinfotech.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skybridgeinfotech.com\/blog\/#\/schema\/logo\/image\/","url":"http:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2024\/02\/logo.png","contentUrl":"http:\/\/www.skybridgeinfotech.com\/blog\/wp-content\/uploads\/2024\/02\/logo.png","width":197,"height":73,"caption":"Skybridge"},"image":{"@id":"https:\/\/www.skybridgeinfotech.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.skybridgeinfotech.com\/blog\/#\/schema\/person\/0f15f3349a8eea9f6c89ae7dac0f3cbc","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skybridgeinfotech.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/118323199c026a712094dacfeb0b28dc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/118323199c026a712094dacfeb0b28dc?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/www.skybridgeinfotech.com\/blog"],"url":"https:\/\/www.skybridgeinfotech.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-json\/wp\/v2\/posts\/3238"}],"collection":[{"href":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-json\/wp\/v2\/comments?post=3238"}],"version-history":[{"count":1,"href":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-json\/wp\/v2\/posts\/3238\/revisions"}],"predecessor-version":[{"id":3240,"href":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-json\/wp\/v2\/posts\/3238\/revisions\/3240"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-json\/wp\/v2\/media\/3241"}],"wp:attachment":[{"href":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-json\/wp\/v2\/media?parent=3238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-json\/wp\/v2\/categories?post=3238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skybridgeinfotech.com\/blog\/wp-json\/wp\/v2\/tags?post=3238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}