浏览代码

Expose bufferSize directly

/3.1
Tim Mowrer 6 年前
当前提交
950ad9f0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      Assets/Scenes/ARCollaborationData/NetworkBuffer.cs

2
Assets/Scenes/ARCollaborationData/NetworkBuffer.cs


public byte[] buffer => m_Buffer;
public int bufferSize => (m_Buffer == null) ? 0 : m_Buffer.Length;
public int Read(NetworkStream stream, int offset, int size)
{
ValidateAndThrow(stream);

正在加载...
取消
保存