C# 클래스 System.IO.MemoryStream

상속: Stream
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
CopyTo ( Stream destination, int bufferSize ) : void
CopyToAsync ( Stream destination, int bufferSize, CancellationToken cancellationToken ) : Task
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
FlushAsync ( CancellationToken cancellationToken ) : Task
GetBuffer ( ) : byte[]
MemoryStream ( ) : System.Threading
MemoryStream ( byte buffer ) : System.Threading
MemoryStream ( byte buffer, bool writable ) : System.Threading
MemoryStream ( byte buffer, int index, int count ) : System.Threading
MemoryStream ( byte buffer, int index, int count, bool writable ) : System.Threading
MemoryStream ( byte buffer, int index, int count, bool writable, bool publiclyVisible ) : System.Threading
MemoryStream ( int capacity ) : System.Threading
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( Byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
ReadByte ( ) : int
Seek ( long offset, SeekOrigin loc ) : long
SetLength ( long value ) : void
ToArray ( ) : byte[]
TryGetBuffer ( ArraySegment &buffer ) : bool
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( Byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
WriteByte ( byte value ) : void
WriteTo ( Stream stream ) : void

보호된 메소드들

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

비공개 메소드들

메소드 설명
CopyToAsyncImpl ( Stream destination, int bufferSize, CancellationToken cancellationToken ) : Task
EnsureCapacity ( int value ) : bool
EnsureWriteable ( ) : void
InternalEmulateRead ( int count ) : int
InternalGetBuffer ( ) : byte[]
InternalGetPosition ( ) : int
InternalReadInt32 ( ) : int
ReadAsyncImpl ( Byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
WriteAsyncImpl ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task

메소드 상세

BeginRead() 공개 메소드

public BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
리턴 IAsyncResult

BeginWrite() 공개 메소드

public BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
리턴 IAsyncResult

CopyTo() 공개 메소드

public CopyTo ( Stream destination, int bufferSize ) : void
destination Stream
bufferSize int
리턴 void

CopyToAsync() 공개 메소드

public CopyToAsync ( Stream destination, int bufferSize, CancellationToken cancellationToken ) : Task
destination Stream
bufferSize int
cancellationToken CancellationToken
리턴 Task

Dispose() 보호된 메소드

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

EndRead() 공개 메소드

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

EndWrite() 공개 메소드

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

FlushAsync() 공개 메소드

public FlushAsync ( CancellationToken cancellationToken ) : Task
cancellationToken CancellationToken
리턴 Task

GetBuffer() 공개 메소드

public GetBuffer ( ) : byte[]
리턴 byte[]

MemoryStream() 공개 메소드

public MemoryStream ( ) : System.Threading
리턴 System.Threading

MemoryStream() 공개 메소드

public MemoryStream ( byte buffer ) : System.Threading
buffer byte
리턴 System.Threading

MemoryStream() 공개 메소드

public MemoryStream ( byte buffer, bool writable ) : System.Threading
buffer byte
writable bool
리턴 System.Threading

MemoryStream() 공개 메소드

public MemoryStream ( byte buffer, int index, int count ) : System.Threading
buffer byte
index int
count int
리턴 System.Threading

MemoryStream() 공개 메소드

public MemoryStream ( byte buffer, int index, int count, bool writable ) : System.Threading
buffer byte
index int
count int
writable bool
리턴 System.Threading

MemoryStream() 공개 메소드

public MemoryStream ( byte buffer, int index, int count, bool writable, bool publiclyVisible ) : System.Threading
buffer byte
index int
count int
writable bool
publiclyVisible bool
리턴 System.Threading

MemoryStream() 공개 메소드

public MemoryStream ( int capacity ) : System.Threading
capacity int
리턴 System.Threading

Read() 공개 메소드

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

ReadAsync() 공개 메소드

public ReadAsync ( Byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer Byte
offset int
count int
cancellationToken CancellationToken
리턴 Task

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

Seek() 공개 메소드

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

SetLength() 공개 메소드

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

ToArray() 공개 메소드

public ToArray ( ) : byte[]
리턴 byte[]

TryGetBuffer() 공개 메소드

public TryGetBuffer ( ArraySegment &buffer ) : bool
buffer ArraySegment
리턴 bool

Write() 공개 메소드

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

WriteAsync() 공개 메소드

public WriteAsync ( Byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer Byte
offset int
count int
cancellationToken CancellationToken
리턴 Task

WriteByte() 공개 메소드

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

WriteTo() 공개 메소드

public WriteTo ( Stream stream ) : void
stream Stream
리턴 void