C# 클래스 MemoryStream, Yoakke

파일 보기 프로젝트 열기: LanguageDev/Yoakke 1 사용 예제들

공개 메소드들

메소드 설명
Consume ( int amount ) : int
Defer ( item ) : void
MemoryStream ( ReadOnlyMemory memory ) : System,

Initializes a new instance of the MemoryStream{T} class.

TryConsume ( &item ) : bool
TryLookAhead ( int offset, &item ) : bool
TryPeek ( &item ) : bool

메소드 상세

Consume() 공개 메소드

public Consume ( int amount ) : int
amount int
리턴 int

Defer() 공개 메소드

public Defer ( item ) : void
리턴 void

MemoryStream() 공개 메소드

Initializes a new instance of the MemoryStream{T} class.
public MemoryStream ( ReadOnlyMemory memory ) : System,
memory ReadOnlyMemory The memory to read from.
리턴 System,

TryConsume() 공개 메소드

public TryConsume ( &item ) : bool
리턴 bool

TryLookAhead() 공개 메소드

public TryLookAhead ( int offset, &item ) : bool
offset int
리턴 bool

TryPeek() 공개 메소드

public TryPeek ( &item ) : bool
리턴 bool