Apache.NMS.ActiveMQ.Commands.ActiveMQStreamMessage.InitializeReading C# (CSharp) 메소드

InitializeReading() 개인적인 메소드

private InitializeReading ( ) : void
리턴 void
        private void InitializeReading()
        {
            FailIfWriteOnlyBody();
            if(this.dataIn == null)
            {
                this.byteBuffer = new MemoryStream(this.Content, false);

                Stream target = this.byteBuffer;
                if(this.Connection != null && this.Compressed == true)
                {
                    target = this.Connection.CompressionPolicy.CreateDecompressionStream(target);
                }

                this.dataIn = new EndianBinaryReader(target);
            }
        }