File: ReadAllBytes

ReadAllBytes

Reads an entire file into a byte array.



 Public Function ReadAllBytes(
	  ByVal Path As String ) As Byte ( )

Parameters

Path
[ByVal] String. The path and filename to read into the byte array.

Return Values

Byte() -  A byte array containing the contents of the file.

Remarks

See Also

Project VBCorLib Overview Class File Overview File Properties File Methods OpenWrite ReadAllLines