기술 자료

Unity Engine

Unity Engine

WriteBytesUnsafe(ref DataStreamWriter, byte*, int)

Appends a specified number of bytes from the buffer to the data stream.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

WriteBytesUnsafe(DataStreamWriter, byte*, int)

public static bool WriteBytesUnsafe(this ref DataStreamWriter writer, byte* data, int bytes)

Parameters

Data stream writer.

data

Pointer to the data.

bytes

A positive number of bytes to write.

Returns

Type

Description

boolWhether the write was successful