mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
438 B
20 lines
438 B
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ZeroLevel.Services.Memory
|
|
{
|
|
public interface IViewAccessor
|
|
: IDisposable
|
|
{
|
|
bool IsMemoryStream { get; }
|
|
/// <summary>
|
|
/// End of view
|
|
/// </summary>
|
|
bool EOV { get; }
|
|
long Position { get; }
|
|
Task<byte[]> ReadBuffer(int count);
|
|
bool CheckOutOfRange(int offset);
|
|
void Seek(long offset);
|
|
}
|
|
}
|