System.IO.BinaryReader

E697499

System.IO.BinaryReader is a .NET class that reads primitive data types as binary values from a stream in a specific encoding.

All labels observed (2)

Label Occurrences
System.IO.BinaryReader canonical 4
BinaryReader(System.IO.Stream) 1

How this entity was disambiguated

Statements (57)

Predicate Object
instanceOf .NET class
class
reference type
assembly System.Runtime
linked to: System.Runtime.dll

mscorlib
linked to: mscorlib.dll
category I/O
defaultEncoding UTF-8
designedFor reading binary file formats
reading binary network protocols
hasConstructor BinaryReader(System.IO.Stream)
BinaryReader(System.IO.Stream,System.Text.Encoding)
BinaryReader(System.IO.Stream,System.Text.Encoding,bool)
hasMethod Close()
Dispose()
Dispose(bool)
PeekChar()
Read()
Read(byte[],int,int)
Read(char[],int,int)
Read7BitEncodedInt()
ReadBoolean()
ReadByte()
ReadBytes(int)
ReadChar()
ReadChars(int)
ReadDecimal()
ReadDouble()
ReadInt16()
ReadInt32()
ReadInt64()
ReadSByte()
ReadSingle()
ReadString()
ReadUInt16()
ReadUInt32()
ReadUInt64()
hasProperty BaseStream
CurrentEncoding
implements System.IDisposable
inheritsFrom System.Object
introducedIn .NET Framework 1.1
linked to: .NET Framework
isAbstract false
isPublic true
isSealed false
namespace System.IO
platform .NET 5+
.NET Core
.NET Framework
propertyType BaseStream:System.IO.Stream
CurrentEncoding:System.Text.Encoding
purpose read primitive data types from a stream as binary values
readsFrom System.IO.Stream
relatedClass System.IO.BinaryWriter
System.IO.StreamReader
supportsEncoding System.Text.Encoding
threadSafety instance members are not guaranteed to be thread-safe
usagePattern used with using statement to ensure disposal

How these facts were elicited

Referenced by (5)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.IO containsType System.IO.BinaryReader
System.IO.BinaryReader hasConstructor BinaryReader(System.IO.Stream)
linked to: System.IO.BinaryReader
System.IO.BinaryWriter relatedClass System.IO.BinaryReader
System.IO.EndOfStreamException typicalAPI System.IO.BinaryReader
System.IO.IOException canBeThrownBy System.IO.BinaryReader