Read all bytes from a file.

Namespace: Composite.Core.IO
Assembly: Composite (in Composite.dll) Version: 5.3.6135.33083

Syntax

C#
public static byte[] ReadAllBytes(
	string path
)
Visual Basic
Public Shared Function ReadAllBytes ( _
	path As String _
) As Byte()
Visual C++
public:
static array<unsigned char>^ ReadAllBytes(
	String^ path
)

Parameters

path
Type: System..::..String
Path to file to read from.

Return Value

Returns read bytes.

See Also