using System; namespace Mirror { /// Pooled NetworkWriter, automatically returned to pool when using 'using' public sealed class NetworkWriterPooled : NetworkWriter, IDisposable { public void Dispose() => NetworkWriterPool.Return(this); } }