Show / Hide Table of Contents

Class MultiFileStream

Inheritance
System.Object
MultiFileStream
Namespace: AssetRipper.IO.Files.Streams.MultiFile
Assembly: AssetRipper.IO.Files.dll
Syntax
public sealed class MultiFileStream : Stream

Properties

| Improve this Doc View Source

CanRead

Declaration
public override bool CanRead { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CanSeek

Declaration
public override bool CanSeek { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CanWrite

Declaration
public override bool CanWrite { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Length

Declaration
public override long Length { get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

Position

Declaration
public override long Position { get; set; }
Property Value
Type Description
System.Int64

Methods

| Improve this Doc View Source

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing
| Improve this Doc View Source

Exists(String)

Declaration
public static bool Exists(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()
| Improve this Doc View Source

Flush()

Declaration
public override void Flush()
| Improve this Doc View Source

GetFileName(String)

Declaration
public static string GetFileName(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
System.String
| Improve this Doc View Source

GetFilePath(String)

Declaration
public static string GetFilePath(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
System.String
| Improve this Doc View Source

GetFiles(String)

Declaration
public static string[] GetFiles(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
System.String[]
| Improve this Doc View Source

IsMultiFile(String)

Determines if the path could be part of a multi file

Declaration
public static bool IsMultiFile(string path)
Parameters
Type Name Description
System.String path

The path to check

Returns
Type Description
System.Boolean

True if the path matches the multi file regex

| Improve this Doc View Source

IsNameEquals(String, String)

Declaration
public static bool IsNameEquals(string fileName, string compare)
Parameters
Type Name Description
System.String fileName
System.String compare
Returns
Type Description
System.Boolean
| Improve this Doc View Source

OpenRead(String)

Declaration
public static Stream OpenRead(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
Stream
| Improve this Doc View Source

Read(Byte[], Int32, Int32)

Declaration
public override int Read(byte[] buffer, int offset, int count)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 offset
System.Int32 count
Returns
Type Description
System.Int32
| Improve this Doc View Source

ReadByte()

Declaration
public override int ReadByte()
Returns
Type Description
System.Int32
| Improve this Doc View Source

Seek(Int64, SeekOrigin)

Declaration
public override long Seek(long offset, SeekOrigin origin)
Parameters
Type Name Description
System.Int64 offset
SeekOrigin origin
Returns
Type Description
System.Int64
| Improve this Doc View Source

SetLength(Int64)

Declaration
public override void SetLength(long value)
Parameters
Type Name Description
System.Int64 value
| Improve this Doc View Source

Write(Byte[], Int32, Int32)

Declaration
public override void Write(byte[] buffer, int offset, int count)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 offset
System.Int32 count
| Improve this Doc View Source

WriteByte(Byte)

Declaration
public override void WriteByte(byte value)
Parameters
Type Name Description
System.Byte value
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾