Skip to content

Mirror::NetworkWriterExtensions

Public Functions

Name
void WriteByte(this NetworkWriter writer, byte value)
void WriteSByte(this NetworkWriter writer, sbyte value)
void WriteChar(this NetworkWriter writer, char value)
void WriteBoolean(this NetworkWriter writer, bool value)
void WriteUInt16(this NetworkWriter writer, ushort value)
void WriteInt16(this NetworkWriter writer, short value)
void WriteSingle(this NetworkWriter writer, float value)
void WriteDouble(this NetworkWriter writer, double value)
void WriteDecimal(this NetworkWriter writer, decimal value)
void WriteString(this NetworkWriter writer, string value)
void WriteBytesAndSize(this NetworkWriter writer, byte [] buffer, int offset, int count)
void WriteBytesAndSize(this NetworkWriter writer, byte [] buffer)
void WriteBytesAndSizeSegment(this NetworkWriter writer, ArraySegment< byte > buffer)
void WritePackedInt32(this NetworkWriter writer, int i)
void WritePackedUInt32(this NetworkWriter writer, uint value)
void WritePackedInt64(this NetworkWriter writer, long i)
void WritePackedUInt64(this NetworkWriter writer, ulong value)
void WriteVector2(this NetworkWriter writer, Vector2 value)
void WriteVector3(this NetworkWriter writer, Vector3 value)
void WriteVector4(this NetworkWriter writer, Vector4 value)
void WriteVector2Int(this NetworkWriter writer, Vector2Int value)
void WriteVector3Int(this NetworkWriter writer, Vector3Int value)
void WriteColor(this NetworkWriter writer, Color value)
void WriteColor32(this NetworkWriter writer, Color32 value)
void WriteQuaternion(this NetworkWriter writer, Quaternion value)
void WriteRect(this NetworkWriter writer, Rect value)
void WritePlane(this NetworkWriter writer, Plane value)
void WriteRay(this NetworkWriter writer, Ray value)
void WriteMatrix4x4(this NetworkWriter writer, Matrix4x4 value)
void WriteGuid(this NetworkWriter writer, Guid value)
void WriteNetworkIdentity(this NetworkWriter writer, NetworkIdentity value)
void WriteTransform(this NetworkWriter writer, Transform value)
void WriteGameObject(this NetworkWriter writer, GameObject value)
void WriteUri(this NetworkWriter writer, Uri uri)
void WriteList< T >(this NetworkWriter writer, List< T > list)
void WriteArray< T >(this NetworkWriter writer, T [] array)
void WriteArraySegment< T >(this NetworkWriter writer, ArraySegment< T > segment)

Public Functions Documentation

function WriteByte

static void WriteByte(
    this NetworkWriter writer,
    byte value
)

function WriteSByte

static void WriteSByte(
    this NetworkWriter writer,
    sbyte value
)

function WriteChar

static void WriteChar(
    this NetworkWriter writer,
    char value
)

function WriteBoolean

static void WriteBoolean(
    this NetworkWriter writer,
    bool value
)

function WriteUInt16

static inline void WriteUInt16(
    this NetworkWriter writer,
    ushort value
)

function WriteInt16

static void WriteInt16(
    this NetworkWriter writer,
    short value
)

function WriteSingle

static inline void WriteSingle(
    this NetworkWriter writer,
    float value
)

function WriteDouble

static inline void WriteDouble(
    this NetworkWriter writer,
    double value
)

function WriteDecimal

static inline void WriteDecimal(
    this NetworkWriter writer,
    decimal value
)

function WriteString

static inline void WriteString(
    this NetworkWriter writer,
    string value
)

function WriteBytesAndSize

static inline void WriteBytesAndSize(
    this NetworkWriter writer,
    byte [] buffer,
    int offset,
    int count
)

function WriteBytesAndSize

static inline void WriteBytesAndSize(
    this NetworkWriter writer,
    byte [] buffer
)

function WriteBytesAndSizeSegment

static inline void WriteBytesAndSizeSegment(
    this NetworkWriter writer,
    ArraySegment< byte > buffer
)

function WritePackedInt32

static inline void WritePackedInt32(
    this NetworkWriter writer,
    int i
)

function WritePackedUInt32

static inline void WritePackedUInt32(
    this NetworkWriter writer,
    uint value
)

function WritePackedInt64

static inline void WritePackedInt64(
    this NetworkWriter writer,
    long i
)

function WritePackedUInt64

static inline void WritePackedUInt64(
    this NetworkWriter writer,
    ulong value
)

function WriteVector2

static inline void WriteVector2(
    this NetworkWriter writer,
    Vector2 value
)

function WriteVector3

static inline void WriteVector3(
    this NetworkWriter writer,
    Vector3 value
)

function WriteVector4

static inline void WriteVector4(
    this NetworkWriter writer,
    Vector4 value
)

function WriteVector2Int

static inline void WriteVector2Int(
    this NetworkWriter writer,
    Vector2Int value
)

function WriteVector3Int

static inline void WriteVector3Int(
    this NetworkWriter writer,
    Vector3Int value
)

function WriteColor

static inline void WriteColor(
    this NetworkWriter writer,
    Color value
)

function WriteColor32

static inline void WriteColor32(
    this NetworkWriter writer,
    Color32 value
)

function WriteQuaternion

static inline void WriteQuaternion(
    this NetworkWriter writer,
    Quaternion value
)

function WriteRect

static inline void WriteRect(
    this NetworkWriter writer,
    Rect value
)

function WritePlane

static inline void WritePlane(
    this NetworkWriter writer,
    Plane value
)

function WriteRay

static inline void WriteRay(
    this NetworkWriter writer,
    Ray value
)

function WriteMatrix4x4

static inline void WriteMatrix4x4(
    this NetworkWriter writer,
    Matrix4x4 value
)

function WriteGuid

static inline void WriteGuid(
    this NetworkWriter writer,
    Guid value
)

function WriteNetworkIdentity

static inline void WriteNetworkIdentity(
    this NetworkWriter writer,
    NetworkIdentity value
)

function WriteTransform

static inline void WriteTransform(
    this NetworkWriter writer,
    Transform value
)

function WriteGameObject

static inline void WriteGameObject(
    this NetworkWriter writer,
    GameObject value
)

function WriteUri

static inline void WriteUri(
    this NetworkWriter writer,
    Uri uri
)

function WriteList< T >

static inline void WriteList< T >(
    this NetworkWriter writer,
    List< T > list
)

function WriteArray< T >

static inline void WriteArray< T >(
    this NetworkWriter writer,
    T [] array
)

function WriteArraySegment< T >

static inline void WriteArraySegment< T >(
    this NetworkWriter writer,
    ArraySegment< T > segment
)

Updated on 22 January 2021 at 08:52:35 UTC