s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
SafeStreamReader
chevron_left Classes
class
SafeStreamReader

Constructors

functionsSafeStreamReader

Methods

functionsPeekfunctionsReadfunctionsReadAsyncfunctionsReadBlockfunctionsReadBlockAsyncfunctionsReadLinefunctionsReadLineAsyncfunctionsReadToEndfunctionsReadToEndAsync

Static Methods

functionsIsAtEnd
SafeStreamReader
class Sandbox.Internal .
Sandbox.System

build Constructors 1

SafeStreamReader (stream)

functions Methods 9

Peek ()
int
Read ()
int
ReadAsync (buffer, index, count)
Task`1
ReadBlock (buffer, index, count)
int
ReadBlockAsync (buffer, index, count)
Task`1
ReadLine ()
string
ReadLineAsync ()
Task`1
ReadToEnd ()
string
ReadToEndAsync ()
Task`1

functions Static Methods 1

IsAtEnd (reader)
bool
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter