Cronous Emulation Server Daemon

BufferStream.peek Method 

Peeks and makes a copy of the next reading data without modifying the stream.

[Visual Basic]
Public Function peek( _ 
   ByVal size As Integer _ 
) As Byte()
[C#]
public byte[] peek(
   int size
);
[C++]
public: char peek(
   int size
)  __gc[];
[JScript]
public function peek(
   int size
): Byte[];

Parameters

size
Amount of data to peek.

Return Value

The peek data.

See Also

BufferStream Class | croemud.connection Namespace