PERWAPI.MetaDataInStream.GetBlob C# (CSharp) Méthode

GetBlob() private méthode

private GetBlob ( uint ix ) : byte[]
ix uint
Résultat byte[]
        internal byte[] GetBlob(uint ix)
        {
            if (ix == 0) return new byte[0];
            BaseStream.Seek(ix,SeekOrigin.Begin);
            //Console.WriteLine("Getting blob size at index " + buff.GetPos());
            //if (Diag.CADiag) Console.WriteLine("Getting blob size at " + (BaseStream.Position+PEReader.blobStreamStartOffset));
            uint bSiz = ReadCompressedNum();
            //byte[] blobBytes = new byte[ReadCompressedNum()];
            //if (Diag.CADiag) Console.WriteLine("Blob size =  " + bSiz);
            byte[] blobBytes = new byte[bSiz];
            for (int i=0; i < blobBytes.Length; i++) {
                blobBytes[i] = ReadByte();
            }
            return blobBytes;
        }

Same methods

MetaDataInStream::GetBlob ( uint ix, int len ) : byte[]