tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.ModLoader.IO.BinaryIO Class Reference

Static Public Member Functions

static void ReadBytes (this Stream stream, byte[] buf)
static byte[] ReadBytes (this Stream stream, int len)
static byte[] ReadBytes (this Stream stream, long len)
static int ReadVarInt (this BinaryReader reader)
static void SafeRead (this BinaryReader reader, Action< BinaryReader > read)
static void SafeWrite (this BinaryWriter writer, Action< BinaryWriter > write)
static void WriteVarInt (this BinaryWriter writer, int value)