{"title":"Blob data type","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/blob/blob-data-type/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/blob/blob-data-type, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/blob/blob-data-type","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Is a complex data type.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Instance methods","slug":"instance-methods","at":255,"chars":799},{"level":2,"title":"Remarks","slug":"remarks","at":1054,"chars":338},{"level":2,"title":"Related information","slug":"related-information","at":1392,"chars":117}],"text":"> Version: _Available or changed with runtime version 1.0._\nIs a complex data type. Variables of this data type differ from normal numeric and string variables in that BLOBs have a variable length. The maximum size of a BLOB(binary large object) is 2 GB.\n## Instance methods\nThe following methods are available on instances of the Blob data type.\nMethod name|Description\nCreateInStream(InStream [, TextEncoding])<blob-createinstream-method>|Creates an InStream object for a binary large object (BLOB). This enables you to read data from the BLOB.\nCreateOutStream(OutStream [, TextEncoding])<blob-createoutstream-method>|Creates an OutStream object for a binary large object (BLOB). This enables you to write data to the BLOB.\nExport(Text)<blob-export-method>|Exports a binary large object (BLOB) to a file.\nblob-hasvalue-method|Determines whether a binary large object (BLOB) has a value.\nImport(Text)<blob-import-method>|Imports a binary large object (BLOB) from a file.\nblob-length-method|Returns the number of bytes in the binary large object (BLOB).\n## Remarks\nUse BLOBs to store memos (text), pictures (bitmaps), or user-defined types.\n> NOTE\n> You cannot view text that is stored in BLOBs from the development environment.\nYou can read from and write to BLOBs by creating input and output streams, respectively. To do so, use blob-createinstream-method and blob-createoutstream-method.\n## Related information\nGet Started with AL<../../devenv-get-started>\nDeveloping Extensions<../../devenv-dev-overview>"}