parent
48ecd15661
commit
5179fe14ff
|
@ -12,7 +12,7 @@ namespace YooAsset
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static void WriteInfoToFile(string filePath, string dataFileCRC, long dataFileSize)
|
public static void WriteInfoToFile(string filePath, string dataFileCRC, long dataFileSize)
|
||||||
{
|
{
|
||||||
using (FileStream fs = new FileStream(filePath, FileMode.Create))
|
using (FileStream fs = new FileStream(filePath, FileMode.Create, FileAccess.Write, FileShare.Read))
|
||||||
{
|
{
|
||||||
SharedBuffer.Clear();
|
SharedBuffer.Clear();
|
||||||
SharedBuffer.WriteUTF8(dataFileCRC);
|
SharedBuffer.WriteUTF8(dataFileCRC);
|
||||||
|
|
Loading…
Reference in New Issue