tModLoader v2024.11
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]