ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.Icc Namespace / ICCProfile Class / getString Method
data array
start of data in array
length of data in array
swap adjacent bytes?

In This Topic
    getString Method
    In This Topic
    Create a String from a byte []. Optionally swap adjacent byte pairs. Intended to be used to create integer String representations allowing for endian translations.
    Syntax
    'Declaration
     
    
    Public Shared Function getString( _
       ByVal bfr() As Byte, _
       ByVal offset As Integer, _
       ByVal length As Integer, _
       ByVal swap As Boolean _
    ) As String
    public static string getString( 
       byte[] bfr,
       int offset,
       int length,
       bool swap
    )

    Parameters

    bfr
    data array
    offset
    start of data in array
    length
    length of data in array
    swap
    swap adjacent bytes?

    Return Value

    String rep of data
    See Also