C# 클래스 Microsoft.Protocols.TestSuites.Pchc.SegmentDescription

The segments field is composed of a number cSegments of SegmentDescription fields. Each SegmentDescription field corresponds to a content segment in the order in which they appear in the original content. Every segment except for the last segment must be exactly 32 MB in size. The content information data structure defines the content range as described below. Content range = {Start offset, Length}Start offset = ullOffsetInContent + dwOffsetInFirstSegment, where ullOffsetInContent is taken from the first SegmentDescription in the segments field.Length =( Sum of cbSegment of all segments in segments field except for the first segment and last segment) + (cbSegment of first segment – dwOffsetInFirstSegment) + dwReadBytesInLastSegmentThe content range extends to the end of all the segments whose SegmentDescriptions are included in the Content Information except for the last segment, for which the number of bytes is limited to dwReadBytesInLastSegment instead of the total number of bytes actually present in the segment.
The remarks xml document .\NewTDxml\6aabffe5-f712-41fe-8f18-c992c9ba507e.xml
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CbBlockSize uint
CbSegment uint
UllOffsetInContent ulong

프로퍼티 상세

CbBlockSize 공개적으로 프로퍼티

Length of a content block within this segment, in bytes. Every segment MUST use the same block size, which MUST be 65536 bytes.
public uint CbBlockSize
리턴 uint

CbSegment 공개적으로 프로퍼티

Total number of bytes in the segment, regardless of how many of those bytes intersect the content range.
public uint CbSegment
리턴 uint

UllOffsetInContent 공개적으로 프로퍼티

Content offset at which the start of the segment begins.
public ulong UllOffsetInContent
리턴 ulong