Search Results for

    Show / Hide Table of Contents

    Class BulkDataUriByteBuffer

    Byte buffer representing a Bulk Data byte buffer, e.g. as in the DICOM Json model, in PS3.18 Chapter F.2.2.

    Inheritance
    Object
    BulkDataUriByteBuffer
    Implements
    IBulkDataUriByteBuffer
    IByteBuffer
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Dicom.IO.Buffer
    Assembly: cs.temp.dll.dll
    Syntax
    public class BulkDataUriByteBuffer : IBulkDataUriByteBuffer, IByteBuffer

    Constructors

    BulkDataUriByteBuffer(String)

    Initialize the BulkData URI Byte Buffer

    Declaration
    public BulkDataUriByteBuffer(string bulkDataUri)
    Parameters
    Type Name Description
    String bulkDataUri

    The URI for retrieving the referenced bulk data.

    Properties

    BulkDataUri

    The URI for retrieving the referenced bulk data.

    Declaration
    public string BulkDataUri { get; }
    Property Value
    Type Description
    String

    Data

    Gets or sets the bulk data. Throws an InvalidOperationException if the Data has not been set.

    Declaration
    public virtual byte[] Data { get; set; }
    Property Value
    Type Description
    Byte[]

    IsMemory

    Gets whether data is buffered in memory or not.

    Declaration
    public bool IsMemory { get; }
    Property Value
    Type Description
    Boolean

    Size

    Gets the size of the buffered data. Throws an InvalidOperationException if the Data has not been set.

    Declaration
    public virtual long Size { get; }
    Property Value
    Type Description
    Int64

    Methods

    GetByteRange(Int64, Int32)

    Gets a subset of the data. Throws an InvalidOperationException if the Data has not been set.

    Declaration
    public virtual byte[] GetByteRange(long offset, int count)
    Parameters
    Type Name Description
    Int64 offset

    Offset from beginning of data array.

    Int32 count

    Number of bytes to return.

    Returns
    Type Description
    Byte[]

    Requested sub-range of the array.

    Implements

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