com.HTTPPart.getContentAsData

Returns the HTTP part as a BYTE.

Syntax

getContentAsData(
   b BYTE )
  1. b is a variable holding the BYTE data.

Usage

Returns the HTTP part as a BYTE. BYTE data cannot be returned from a function with a RETURN statement. Therefore, the BYTE parameter must be handled by reference.

To be used via methods: com.HTTPResponse.getPart, com.HTTPResponse.getPartCount, and com.HTTPResponse.getPartFromContentID

The error -15573 is raised if the part cannot be converted to a Genero BYTE.