Blaze.Server.TdfEncoder.Encode C# (CSharp) 메소드

Encode() 공개 메소드

public Encode ( ) : byte[]
리턴 byte[]
        public byte[] Encode()
        {
            if (_data != null) WriteTdf(_data);

            byte[] buffer = _stream.GetBuffer();
            int position = (int)_stream.Position;

            return buffer.Take(position).ToArray();
        }
    }