C# 클래스 Redzen.IO.FileByteArray

A byte array backed by a file on disk. The byte array has fixed length and random accessible as per a normal byte array, but is backed by a file rather than memory.
상속: IDisposable
파일 보기 프로젝트 열기: colgreen/Redzen

공개 메소드들

메소드 설명
Dispose ( ) : void

Dispose of the FileByteArray.

FileByteArray ( string filePath ) : System

Open an existing byte array file.

FileByteArray ( string filePath, int length ) : System

Create a new byte array file with the specified length (in bytes).

this ( int idx ) : byte

Gets the byte at the specified index within the array.

메소드 상세

Dispose() 공개 메소드

Dispose of the FileByteArray.
public Dispose ( ) : void
리턴 void

FileByteArray() 공개 메소드

Open an existing byte array file.
public FileByteArray ( string filePath ) : System
filePath string The full path to the file.
리턴 System

FileByteArray() 공개 메소드

Create a new byte array file with the specified length (in bytes).
public FileByteArray ( string filePath, int length ) : System
filePath string The full path to the file.
length int The length of the byte array.
리턴 System

this() 공개 메소드

Gets the byte at the specified index within the array.
public this ( int idx ) : byte
idx int The index of the byte to retrieve from the array.
리턴 byte