Beispiel #1
0
        public MetadataStream Parse(System.IO.Stream file, long offset, long length, AssemblyLoader al)
        {
            // Parse into an ArrayInterface

            byte[] b = new byte[length];
            file.Seek(offset, SeekOrigin.Begin);
            file.Read(b, 0, (int)length);

            ArrayInterface ai = new ArrayInterface(b);

            return(Parse(ai, al));
        }
Beispiel #2
0
 public BlobStream(IList <byte> arr)
 {
     di = new metadata.ArrayInterface(arr);
 }