Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PipeStream() [1/2]

System.IO.Pipes.PipeStream.PipeStream ( PipeDirection direction,
int bufferSize )
inlineprotected

Definition at line 459 of file PipeStream.cs.

460 {
461 if (direction < PipeDirection.In || direction > PipeDirection.InOut)
462 {
463 throw new ArgumentOutOfRangeException("direction", System.SR.ArgumentOutOfRange_DirectionModeInOutOrInOut);
464 }
465 if (bufferSize < 0)
466 {
467 throw new ArgumentOutOfRangeException("bufferSize", System.SR.ArgumentOutOfRange_NeedNonNegNum);
468 }
469 Init(direction, PipeTransmissionMode.Byte, (uint)bufferSize);
470 }
void Init(PipeDirection direction, PipeTransmissionMode transmissionMode, uint outBufferSize)
static string ArgumentOutOfRange_NeedNonNegNum
Definition SR.cs:32
static string ArgumentOutOfRange_DirectionModeInOutOrInOut
Definition SR.cs:32
Definition SR.cs:7

References System.SR.ArgumentOutOfRange_DirectionModeInOutOrInOut, System.SR.ArgumentOutOfRange_NeedNonNegNum, and System.IO.Pipes.PipeStream.Init().