Table of Contents

Interface IGodotArchiveStream

Namespace
Cobilas.GodotEngine.Utility.IO.Interfaces
Assembly
com.cobilas.godot.utility.dll

Represents a Godot-specific archive stream interface with additional buffer management capabilities.

public interface IGodotArchiveStream : IStream, IDisposable
Inherited Members

Remarks

This interface extends the basic archive stream functionality with Godot-specific features, including the ability to refresh the stream buffer.

Properties

BufferLength

Gets or sets the length of the buffer.

long BufferLength { get; set; }

Property Value

long

The current length of the buffer in bytes.

IsInternal

Gets a value indicating whether the stream is internal to the Godot engine.

bool IsInternal { get; }

Property Value

bool

true if the stream is internal to Godot; otherwise, false.

Name

Gets the name of the Godot archive stream.

string Name { get; }

Property Value

string

The name identifier of the stream.

Position

Gets or sets the current position within the stream.

long Position { get; set; }

Property Value

long

The current position within the stream.

Methods

RefreshBuffer()

Refreshes the stream buffer, ensuring that any pending changes are applied and the buffer state is updated.

void RefreshBuffer()

Remarks

This method is particularly useful in Godot environment where buffer synchronization with the underlying resource management system is required.