// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
namespace FASTER.core
{
///
/// Interface to provide a batch of ReadOnlySpan[byte] data to FASTER
///
public interface IReadOnlySpanBatch
{
///
/// Number of entries in provided batch
///
/// Number of entries
int TotalEntries();
///
/// Retrieve batch entry at specified index
///
/// Index
///
ReadOnlySpan Get(int index);
}
}