Search Results for

    Show / Hide Table of Contents

    Interface IByteTarget

    Interface representing a byte target for write operations.

    Namespace: Dicom.IO
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IByteTarget

    Properties

    Endian

    Gets or sets the endianness of the byte target.

    Declaration
    Endian Endian { get; set; }
    Property Value
    Type Description
    Endian

    Position

    Gets the current write position.

    Declaration
    long Position { get; }
    Property Value
    Type Description
    Int64

    Methods

    Write(Byte)

    Write one Byte to target.

    Declaration
    void Write(byte v)
    Parameters
    Type Name Description
    Byte v

    Byte to write.

    Write(Byte[], UInt32, UInt32)

    Write array of Bytes to target.

    Declaration
    void Write(byte[] buffer, uint offset, uint count)
    Parameters
    Type Name Description
    Byte[] buffer

    Array of Bytes to write.

    UInt32 offset

    Index of first position in buffer to write to byte target.

    UInt32 count

    Number of bytes to write to byte target.

    Write(Double)

    Write one Double to target.

    Declaration
    void Write(double v)
    Parameters
    Type Name Description
    Double v

    Double to write.

    Write(Int16)

    Write one Int16 to target.

    Declaration
    void Write(short v)
    Parameters
    Type Name Description
    Int16 v

    Int16 to write.

    Write(Int32)

    Write one Int32 to target.

    Declaration
    void Write(int v)
    Parameters
    Type Name Description
    Int32 v

    Int32 to write.

    Write(Int64)

    Write one Int64 to target.

    Declaration
    void Write(long v)
    Parameters
    Type Name Description
    Int64 v

    Int64 to write.

    Write(Single)

    Write one Single to target.

    Declaration
    void Write(float v)
    Parameters
    Type Name Description
    Single v

    Single to write.

    Write(UInt16)

    Write one UInt16 to target.

    Declaration
    void Write(ushort v)
    Parameters
    Type Name Description
    UInt16 v

    UInt16 to write.

    Write(UInt32)

    Write one UInt32 to target.

    Declaration
    void Write(uint v)
    Parameters
    Type Name Description
    UInt32 v

    UInt32 to write.

    Write(UInt64)

    Write one UInt64 to target.

    Declaration
    void Write(ulong v)
    Parameters
    Type Name Description
    UInt64 v

    UInt64 to write.

    WriteAsync(Byte[], UInt32, UInt32)

    Asynchronously write array of Bytes to target.

    Declaration
    Task WriteAsync(byte[] buffer, uint offset, uint count)
    Parameters
    Type Name Description
    Byte[] buffer

    Array of Bytes to write.

    UInt32 offset

    Index of first position in buffer to write to byte target.

    UInt32 count

    Number of bytes to write to byte target.

    Returns
    Type Description
    Task

    Avaitable Task.

    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors