Writer Class

Class Reader is used to read data recieved from another User.

Definition

Namespace: Alteruna
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public class Writer
Inheritance
Object    Writer

Methods

EndCompress Compresses the data already written to the writer. If StartCompress has not been called, the data will be compressed from the start of the writer.
SerializeAndPackStringT Pack an object into a string that cane later be unpacked using DeserializePackedStringT(String).
StartCompress Sets the current position of the writer as the start of the data to be compressed. Default to the start of the Writer.
Write(Boolean) 
Write(Byte) 
Write(Byte) 
Write(Guid) 
Write(Int16) 
Write(Int32) 
Write(Single) 
Write(String) 
Write(UInt16) 
Write(UInt32) 
Write(Byte, Int32, Int32) 
WriteGenericT identical to WriteObject
WriteObject(Object)Obsolete.
WriteObject(Object, Type) Write an object of given type.
WriteObjectT(T) Write an object of given type.

Extension Methods

Write Write a Bounds to a Writer.
(Defined by UnityWriter)
Write Write a BoundsInt to a Writer.
(Defined by UnityWriter)
Write Write a Color (RGBA) to a Writer.
(Defined by UnityWriter)
Write Write a Color32 (RGBA) to a Writer.
(Defined by UnityWriter)
Write Write a Plane to a Writer.
(Defined by UnityWriter)
Write Write a Pose to a Writer.
(Defined by UnityWriter)
Write Write a Quaternion to a Writer.
(Defined by UnityWriter)
Write Write a Ray to a Writer.
(Defined by UnityWriter)
Write Write a Ray2D to a Writer.
(Defined by UnityWriter)
Write Write a Rect to a Writer.
(Defined by UnityWriter)
Write Write a RectInt to a Writer.
(Defined by UnityWriter)
Write Write a Vector2 to a Writer.
(Defined by UnityWriter)
Write Write a Vector2Int to a Writer.
(Defined by UnityWriter)
Write Write a Vector3 to a Writer.
(Defined by UnityWriter)
Write Write a Vector3Int to a Writer.
(Defined by UnityWriter)
Write Write a Vector4 to a Writer.
(Defined by UnityWriter)
WriteEncrypted
(Defined by Encryption)
WriteEncryptedT
(Defined by Encryption)

See Also

Reference

ITransportStreamWriter