Class DICOMBinaryWriter
Inheritance
System.Object
DICOMBinaryWriter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:EvilDICOM.Core.IO.Writing
Assembly:EvilDICOM.dll
Syntax
public class DICOMBinaryWriter : IDisposable
Constructors
View SourceDICOMBinaryWriter()
Declaration
protected DICOMBinaryWriter()
DICOMBinaryWriter(Stream)
Declaration
public DICOMBinaryWriter(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | stream |
DICOMBinaryWriter(String)
Constructs a new writer from a file path.
Declaration
public DICOMBinaryWriter(string filePath)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | filePath | path to the file to be written |
Methods
View SourceDispose()
Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()
View Source
Write(Byte)
Declaration
public void Write(byte b)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | b |
Write(Byte[])
Declaration
public void Write(byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | bytes |
Write(Char[])
Declaration
public void Write(char[] chars)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Char[] | chars |
Write(String)
Declaration
public void Write(string chars)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | chars |
WriteNullBytes(Int32)
Declaration
public void WriteNullBytes(int numberToWrite)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | numberToWrite |