Print the contents of a file in Perforce to a byte array.

Namespace:  P4API
Assembly:  p4api (in p4api)
Version: 1.0.0.0 (1.0.0)

Syntax

C#
public byte[] PrintBinary(
	string depotPath
)

Parameters

depotPath
Type: System..::.String
Perforce path to the file.

Return Value

Contents of the file. Text files will be encoded with ANSI encodinge. Unicode files will be encoded as UTF-8 (regardless of P4CHARSET setting).

See Also