文档

Unity Engine

Unity Engine

ReadAllBytes(string)

Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
阅读时间1 分钟最后更新于 2 个月前

Definition

public static byte[] ReadAllBytes(string path)

Parameters

path

The file to open for reading.

Returns

Type

Description

byte[]