Search Results for

    Show / Hide Table of Contents

    Interface IByteBuffer

    Common interface for byte buffers.

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

    Properties

    Data

    Gets the data.

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

    IsMemory

    Gets whether data is buffered in memory or not.

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

    Size

    Gets the size of the buffered data.

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

    Methods

    GetByteRange(Int64, Int32)

    Gets a subset of the data.

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

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