using System; using System.IO; namespace Discord.Audio { public abstract class AudioOutStream : AudioStream { public override bool CanWrite => true; /// /// Reading this stream is not supported. public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); /// /// Setting the length to this stream is not supported. public override void SetLength(long value) => throw new NotSupportedException(); /// /// Seeking this stream is not supported.. public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); } }