tModLoader v2024.09
A mod to make and play Terraria mods
CachedBuffer Class Reference

Public Member Functions

 CachedBuffer (byte[] data)
 
void Recycle ()
 

Public Attributes

readonly byte[] Data
 
readonly BinaryReader Reader
 
readonly BinaryWriter Writer
 

Properties

bool IsActive [get]
 
int Length [get]