Returns the currently captured data as a byte array. The data capture facility allows you to save all information being sent by the host communications layer to the presentation space for later retrieval as a byte array or a String.

Depending on the type of terminal and type of host connection, this data may be in the 8-bit ASCII, 8-bit EBCDIC or 6-bit ALC character set.


Namespace: ScreenUPG
Assembly: ScreenUPG (in ScreenUPG.dll)

Syntax

Visual Basic (Declaration)
Public Function getCapturedBytes() As Byte()
C#
public byte[] getCapturedBytes()
C++
public:
 array<char>^ getCapturedBytes() sealed 
J#
public byte[] getCapturedBytes()
JScript
public  function getCapturedBytes() : Byte[]

Return Value

An unsigned byte array containing the data this is currently captured.

Remarks

Note that calling this method does not remove the data from the capture buffer. .NET applications should call getCapturedJavaBytes.

Example

[VB]

 Copy Code
            Dim gcb As Byte()
            
            gcb = m_screen.getCapturedBytes
            

See Also