IReadable Interface

Summary

Represents a stream of binary data that can be read from.
Namespace
AlphaTab.IO
graph TD Type["IReadable"] class Type type-node

Syntax

public interface IReadable

Properties

Name Value Summary
Length int
Gets the total number of bytes contained in the stream.
Position int
Gets or sets the current read position relative in the stream.

Methods

Name Value Summary
Read(byte[], int, int) int
Reads the given number of bytes from the stream into the given buffer.
ReadAll() byte[]
Reads the remaining data.
ReadByte() int
Read a single byte from the data stream.
Reset() void
Resets the stream for reading the data from the beginning.
Skip(int) void
Skip the given number of bytes.