C# 클래스 RocksmithToolkitLib.PsarcLoader.MemoryStreamExtension

상속: Stream
파일 보기 프로젝트 열기: rscustom/rocksmith-custom-song-toolkit 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
blockSize long
blocks List
length long

공개 메소드들

메소드 설명
Flush ( ) : void
MemoryStreamExtension ( ) : System
MemoryStreamExtension ( byte source ) : System
MemoryStreamExtension ( int length ) : System
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
ReadFrom ( Stream source, long length ) : void

Reads length bytes from source into the this instance at the current position.

Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
ToArray ( ) : byte[]

Returns the entire content of the stream as a byte array. This is not safe because the call to new byte[] may fail if the stream is large enough. Where possible use methods which operate on streams directly instead.

Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void
WriteTo ( Stream destination ) : void

Writes the entire stream into destination, regardless of Position, which remains unchanged.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
EnsureCapacity ( long intended_length ) : void

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EnsureCapacity() 보호된 메소드

protected EnsureCapacity ( long intended_length ) : void
intended_length long
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

MemoryStreamExtension() 공개 메소드

public MemoryStreamExtension ( ) : System
리턴 System

MemoryStreamExtension() 공개 메소드

public MemoryStreamExtension ( byte source ) : System
source byte
리턴 System

MemoryStreamExtension() 공개 메소드

public MemoryStreamExtension ( int length ) : System
length int
리턴 System

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

ReadFrom() 공개 메소드

Reads length bytes from source into the this instance at the current position.
public ReadFrom ( Stream source, long length ) : void
source Stream The stream containing the data to copy
length long The number of bytes to copy
리턴 void

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

ToArray() 공개 메소드

Returns the entire content of the stream as a byte array. This is not safe because the call to new byte[] may fail if the stream is large enough. Where possible use methods which operate on streams directly instead.
public ToArray ( ) : byte[]
리턴 byte[]

Write() 공개 메소드

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void

WriteByte() 공개 메소드

public WriteByte ( byte value ) : void
value byte
리턴 void

WriteTo() 공개 메소드

Writes the entire stream into destination, regardless of Position, which remains unchanged.
public WriteTo ( Stream destination ) : void
destination Stream The stream to write the content of this stream to
리턴 void

프로퍼티 상세

blockSize 보호되어 있는 프로퍼티

protected long blockSize
리턴 long

blocks 보호되어 있는 프로퍼티

protected List blocks
리턴 List

length 보호되어 있는 프로퍼티

protected long length
리턴 long