Click or drag to resize
ReadBufferReadUtf8 Method
Reads an UTF-8-encoded string from the buffer.

Namespace: Lawo.IO
Assembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax
C#
public string ReadUtf8(
	int count
)

Parameters

count
Type: SystemInt32
The number of bytes the UTF-8 representation occupies in the buffer.

Return Value

Type: String
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptioncount is negative.
EndOfStreamExceptionThe end of the stream has been reached before the the buffer could be filled to count bytes.
InvalidOperationExceptionThe ReadBuffer object was created by calling ReadBuffer(ReadAsyncCallback, Int32).
Remarks
First calls Fill(Int32) to read all the necessary bytes into the buffer.
See Also