ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.entropy.encoder Namespace / ByteOutputBuffer Class / toByteArray Method
The index of the first element in the stream to copy.
The number of elements of the array to copy
The destination array
The index of the first element in 'outbuf' where to write the data.

In This Topic
    toByteArray Method (ByteOutputBuffer)
    In This Topic
    Copies the specified part of the stream to the 'outbuf' byte array.
    Syntax
    'Declaration
     
    
    Public Overridable Sub toByteArray( _
       ByVal off As Integer, _
       ByVal len As Integer, _
       ByVal outbuf() As Byte, _
       ByVal outoff As Integer _
    ) 
    public virtual void toByteArray( 
       int off,
       int len,
       byte[] outbuf,
       int outoff
    )

    Parameters

    off
    The index of the first element in the stream to copy.
    len
    The number of elements of the array to copy
    outbuf
    The destination array
    outoff
    The index of the first element in 'outbuf' where to write the data.
    See Also