コード例 #1
0
        static byte[] GetEnumerateStreamResultBytes(BlobTransportStream @this, BlobChunkHeader header)
        {
            byte[] bytes = new byte[header.DataSize];
            @this.UnderlyingStream.Stream(bytes);

            return(bytes);
        }
コード例 #2
0
        static long GetEnumerateStreamResultDataPosition(BlobTransportStream @this, BlobChunkHeader header)
        {
            Util.MarkUnusedVariable(ref header);

            return(@this.BaseStream.Position);            // position at this point will be right after [header]
        }