ServiceStack.StreamExt.ToBytes C# (CSharp) 메소드

ToBytes() 공개 정적인 메소드

public static ToBytes ( this stream ) : byte[]
stream this
리턴 byte[]
        public static byte[] ToBytes(this Stream stream)
        {
            if (stream == null)
                throw new ArgumentNullException(nameof(stream));

            return stream.ReadFully();
        }