DicomObjects.NET8 Documentation
DicomObjects.Codecs Namespace / CodecFactory Class / CheckStart Method
The fragment data to test
The transfer syntax to check against



In This Topic
    CheckStart Method
    In This Topic
    Check whether a stream contains data which could be the start of a frame of compressed data
    Syntax
    'Declaration
     
    
    Public MustOverride Function CheckStart( _
       ByVal stream As Stream, _
       ByVal TransferSyntax As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As CodecFactory
    Dim stream As Stream
    Dim TransferSyntax As String
    Dim value As Boolean
     
    value = instance.CheckStart(stream, TransferSyntax)
    public abstract bool CheckStart( 
       Stream stream,
       string TransferSyntax
    )
    public:
    abstract bool CheckStart( 
       Stream^ stream,
       String^ TransferSyntax
    ) 

    Parameters

    stream
    The fragment data to test
    TransferSyntax
    The transfer syntax to check against

    Return Value

    true if the data could be the start of a new frame for this transfer syntax
    Remarks
    This routine is used in the difficult cases where the basic offset table is empty, and where there is no obvious 1:1 relationship between fragments and frames, to determine which fragment is the start of which frame.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also