Search Results for

    Show / Hide Table of Contents

    Class TempFileBuffer

    Temporary file-based byte buffer.

    Inheritance
    Object
    TempFileBuffer
    Implements
    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 sealed class TempFileBuffer : IByteBuffer

    Constructors

    TempFileBuffer(Byte[])

    Initializes a TempFileBuffer object.

    Declaration
    public TempFileBuffer(byte[] data)
    Parameters
    Type Name Description
    Byte[] data

    Byte array subject to buffering.

    Properties

    Data

    Gets the data.

    Declaration
    public byte[] Data { get; }
    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.

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

    Methods

    GetByteRange(Int64, Int32)

    Gets a subset of the data.

    Declaration
    public 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

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