Inflearn brand logo image

Inflearn Community Q&A

youngsumdd3451's profile image
youngsumdd3451

asked

[C# and Unity MMORPG Game Development Series] Part4: Game Server

RecvBuffer

ArraySegment<byte>

Written on

·

521

0

        public ArraySegment<byte> ReadSegment
        {
            get { return null; }
        }
        public ArraySegment<byte> WriteSegment
        {
            get { return null; }
        }
심각도	코드	설명	프로젝트	파일	줄	비표시 오류(Suppression) 상태

오류 CS0037 'ArraySegment<byte>'은(는) null을 허용하지 않는 값 형식이므로 null을 이 형식으로 변환할 수 없습니다. ServerCore

저는 null을 넣을때 오류가 뜨는데 무슨 이유일까요?

 

C#unity네트워크

Answer 1

youngsumdd3451's profile image
youngsumdd3451

asked

Ask a question