Table of Contents

Class ReaderWriterExtensions

Namespace
Vintagestory.API.Util
Assembly
VintagestoryAPI.dll
public static class ReaderWriterExtensions
Inheritance
ReaderWriterExtensions
Inherited Members

Methods

Clear(MemoryStream)

public static void Clear(this MemoryStream ms)

Parameters

ms MemoryStream

ReadIntArray(BinaryReader)

public static int[] ReadIntArray(this BinaryReader reader)

Parameters

reader BinaryReader

Returns

int[]

ReadStringArray(BinaryReader)

public static string[] ReadStringArray(this BinaryReader reader)

Parameters

reader BinaryReader

Returns

string[]

WriteArray(BinaryWriter, int[])

public static void WriteArray(this BinaryWriter writer, int[] values)

Parameters

writer BinaryWriter
values int[]

WriteArray(BinaryWriter, string[])

public static void WriteArray(this BinaryWriter writer, string[] values)

Parameters

writer BinaryWriter
values string[]