Bend.SegmentBlockBasicDecoder.SegmentBlockBasicDecoder C# (CSharp) Method

SegmentBlockBasicDecoder() public method

public SegmentBlockBasicDecoder ( BlockAccessor datastream ) : System
datastream BlockAccessor
return System
        public SegmentBlockBasicDecoder(BlockAccessor datastream)
        {
            this.datastream = datastream;
            if (this.datastream.Length == 0) {
                throw new Exception("SegmentBlockBasicDecoder: handed empty stream");
            }
        }