Skip to content

Telepathy::NetworkStreamExtensions

Public Functions

Name
int ReadSafely(this NetworkStream stream, byte [] buffer, int offset, int size)
bool ReadExactly(this NetworkStream stream, byte [] buffer, int amount)

Public Functions Documentation

function ReadSafely

static inline int ReadSafely(
    this NetworkStream stream,
    byte [] buffer,
    int offset,
    int size
)

function ReadExactly

static inline bool ReadExactly(
    this NetworkStream stream,
    byte [] buffer,
    int amount
)

Updated on 25 January 2021 at 10:58:35 UTC