---
title: "Codeunit 3032 DotNet_BinaryReader"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/3032-dotnet-binaryreader/
type: codeunit
id: 3032
name: "DotNet_BinaryReader"
app: "Base Application"
namespace: System.IO
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/3032-dotnet-binaryreader/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 3032 DotNet_BinaryReader

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/3032-dotnet-binaryreader/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.IO |
| Versions | 17-28 |
| Source file | Modules/System/DotNetWrappers/DotNetBinaryReader.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| BinaryReader | (var Codeunit DotNet_Stream) | - | public | 17-28 | - | - |
| BinaryReaderWithEncoding | (var Codeunit DotNet_Stream, var Codeunit DotNet_Encoding) | - | public | 17-28 | - | - |
| Close | () | - | public | 17-28 | - | - |
| Dispose | () | - | public | 17-28 | - | - |
| ReadByte | () | Byte | public | 17-28 | - | - |
| ReadUInt32 | () | Integer | public | 17-28 | - | - |
| ReadUInt16 | () | Integer | public | 17-28 | - | - |
| ReadInt16 | () | Integer | public | 17-28 | - | - |
| ReadInt32 | () | Integer | public | 17-28 | - | - |
| ReadBytes | (Integer, var Codeunit DotNet_Array) | - | public | 17-28 | - | - |
| ReadChars | (Integer, var Codeunit DotNet_Array) | - | public | 17-28 | - | - |
| IsDotNetNull | () | Boolean | public | 17-28 | - | - |
| BaseStream | (var Codeunit DotNet_Stream) | - | public | 17-28 | - | - |
| ReadChar | () | Char | public | 17-28 | - | - |
| ReadString | () | Text | public | 17-28 | - | - |
| ReadBoolean | () | Boolean | public | 17-28 | - | - |
| ReadDecimal | () | Decimal | public | 17-28 | - | - |
| GetBinaryReader | (var DotNet BinaryReader) | - | public | 17-28 | - | - |
| SetBinaryReader | (var DotNet BinaryReader) | - | public | 17-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
