Tce.RpcBinarySerializer.readBytes C# (CSharp) Method

readBytes() public static method

public static readBytes ( BinaryReader reader ) : byte[]
reader System.IO.BinaryReader
return byte[]
        public static byte[] readBytes(BinaryReader reader)
        {
            byte[] value = null;
            int size = reader.ReadInt32();
            value = reader.ReadBytes(size);
            return value;
        }