M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.BinaryWriter Class Reference

Inherits TaleWorlds.Library.IWriter.

Public Member Functions

 BinaryWriter ()
 
 BinaryWriter (int capacity)
 
void Clear ()
 
void EnsureLength (int added)
 
void WriteSerializableObject (ISerializableObject serializableObject)
 
void WriteByte (byte value)
 
void WriteBytes (byte[] bytes)
 
void Write3ByteInt (int value)
 
void WriteInt (int value)
 
void WriteShort (short value)
 
void WriteString (string value)
 
void WriteFloats (float[] value, int count)
 
void WriteShorts (short[] value, int count)
 
void WriteColor (Color value)
 
void WriteBool (bool value)
 
void WriteFloat (float value)
 
void WriteUInt (uint value)
 
void WriteULong (ulong value)
 
void WriteLong (long value)
 
void WriteVec2 (Vec2 vec2)
 
void WriteVec3 (Vec3 vec3)
 
void WriteVec3Int (Vec3i vec3)
 
void WriteSByte (sbyte value)
 
void WriteUShort (ushort value)
 
void WriteDouble (double value)
 
void AppendData (BinaryWriter writer)
 
void WriteSerializableObject (ISerializableObject serializableObject)
 
void WriteByte (byte value)
 
void WriteSByte (sbyte value)
 
void WriteBytes (byte[] bytes)
 
void WriteInt (int value)
 
void WriteUInt (uint value)
 
void WriteShort (short value)
 
void WriteUShort (ushort value)
 
void WriteString (string value)
 
void WriteColor (Color value)
 
void WriteBool (bool value)
 
void WriteFloat (float value)
 
void WriteDouble (double value)
 
void WriteULong (ulong value)
 
void WriteLong (long value)
 
void WriteVec2 (Vec2 vec2)
 
void WriteVec3 (Vec3 vec3)
 
void WriteVec3Int (Vec3i vec3)
 

Properties

byte[] Data [get]
 
int Length [get]
 

Constructor & Destructor Documentation

◆ BinaryWriter() [1/2]

TaleWorlds.Library.BinaryWriter.BinaryWriter ( )

◆ BinaryWriter() [2/2]

TaleWorlds.Library.BinaryWriter.BinaryWriter ( int  capacity)

Member Function Documentation

◆ Clear()

void TaleWorlds.Library.BinaryWriter.Clear ( )

◆ EnsureLength()

void TaleWorlds.Library.BinaryWriter.EnsureLength ( int  added)

◆ WriteSerializableObject()

void TaleWorlds.Library.BinaryWriter.WriteSerializableObject ( ISerializableObject  serializableObject)

◆ WriteByte()

void TaleWorlds.Library.BinaryWriter.WriteByte ( byte  value)

◆ WriteBytes()

void TaleWorlds.Library.BinaryWriter.WriteBytes ( byte[]  bytes)

◆ Write3ByteInt()

void TaleWorlds.Library.BinaryWriter.Write3ByteInt ( int  value)

◆ WriteInt()

void TaleWorlds.Library.BinaryWriter.WriteInt ( int  value)

◆ WriteShort()

void TaleWorlds.Library.BinaryWriter.WriteShort ( short  value)

◆ WriteString()

void TaleWorlds.Library.BinaryWriter.WriteString ( string  value)

◆ WriteFloats()

void TaleWorlds.Library.BinaryWriter.WriteFloats ( float[]  value,
int  count 
)

◆ WriteShorts()

void TaleWorlds.Library.BinaryWriter.WriteShorts ( short[]  value,
int  count 
)

◆ WriteColor()

void TaleWorlds.Library.BinaryWriter.WriteColor ( Color  value)

◆ WriteBool()

void TaleWorlds.Library.BinaryWriter.WriteBool ( bool  value)

◆ WriteFloat()

void TaleWorlds.Library.BinaryWriter.WriteFloat ( float  value)

◆ WriteUInt()

void TaleWorlds.Library.BinaryWriter.WriteUInt ( uint  value)

◆ WriteULong()

void TaleWorlds.Library.BinaryWriter.WriteULong ( ulong  value)

◆ WriteLong()

void TaleWorlds.Library.BinaryWriter.WriteLong ( long  value)

◆ WriteVec2()

void TaleWorlds.Library.BinaryWriter.WriteVec2 ( Vec2  vec2)

◆ WriteVec3()

void TaleWorlds.Library.BinaryWriter.WriteVec3 ( Vec3  vec3)

◆ WriteVec3Int()

void TaleWorlds.Library.BinaryWriter.WriteVec3Int ( Vec3i  vec3)

◆ WriteSByte()

void TaleWorlds.Library.BinaryWriter.WriteSByte ( sbyte  value)

◆ WriteUShort()

void TaleWorlds.Library.BinaryWriter.WriteUShort ( ushort  value)

◆ WriteDouble()

void TaleWorlds.Library.BinaryWriter.WriteDouble ( double  value)

◆ AppendData()

void TaleWorlds.Library.BinaryWriter.AppendData ( BinaryWriter  writer)

Property Documentation

◆ Data

byte [] TaleWorlds.Library.BinaryWriter.Data
get

◆ Length

int TaleWorlds.Library.BinaryWriter.Length
get