{"title":"OutStream data type","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/outstream/outstream-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/outstream/outstream-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/outstream/outstream-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 generic stream object that you can use to write to files and BLOBs.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Instance methods","slug":"instance-methods","at":133,"chars":2956},{"level":2,"title":"Related information","slug":"related-information","at":3089,"chars":117}],"text":"> Version: _Available or changed with runtime version 1.0._\nIs a generic stream object that you can use to write to files and BLOBs.\n## Instance methods\nThe following methods are available on instances of the OutStream data type.\nMethod name|Description\noutstream-write-variant-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-boolean-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-byte-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-char-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-integer-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-biginteger-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-decimal-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-guid-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-text-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-code-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-label-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-textconst-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-bigtext-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-date-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-time-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-datetime-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-dateformula-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-duration-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-option-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\nWrite(Record [, Integer])<outstream-write-table-integer-method>|Writes a specified number of bytes to the stream. Data is written in binary format.\noutstream-write-recordid-integer-method|Writes a specified number of bytes to the stream. Data is written in binary format.\nWrite(Any [, Integer])<outstream-write-joker-integer-method>|Writes a specified number of bytes to the stream. Data is written in binary format.\nWriteText([Text] [, Integer])<outstream-writetext-method>|Writes text to an OutStream object.\n## Related information\nGet Started with AL<../../devenv-get-started>\nDeveloping Extensions<../../devenv-dev-overview>"}