Show / Hide Table of Contents

Interface IChunkCache

Caches chunks during a read operation.

Namespace: HDF5.NET
Assembly: HDF5.NET.dll
Syntax
public interface IChunkCache

Methods

| Improve this Doc View Source

GetChunkAsync(UInt64[], Func<Task<Memory<Byte>>>)

Tries to get the chunk at the given position.

Declaration
Task<Memory<byte>> GetChunkAsync(ulong[] indices, Func<Task<Memory<byte>>> chunkLoader)
Parameters
Type Name Description
System.UInt64[] indices

The chunk position.

System.Func<System.Threading.Tasks.Task<System.Memory<System.Byte>>> chunkLoader

The chunk load is used whenever the chunk is not already cached.

Returns
Type Description
System.Threading.Tasks.Task<System.Memory<System.Byte>>

The chunk.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2023 Vincent Wilms