CSharp examples for System.IO:BinaryReader
Read byte array from BinaryReader
using System.IO;//w ww .jav a2s . c om using System; public class Main{ public static byte[] Read(BinaryReader br) { byte len = br.ReadByte(); return br.ReadBytes(len); } }