Mono.Debugger.TargetBinaryReader.PeekInt32 C# (CSharp) Méthode

PeekInt32() public méthode

public PeekInt32 ( long pos ) : int
pos long
Résultat int
        public int PeekInt32(long pos)
        {
            if (swap)
                return (blob.Contents[pos+3] |
                    (blob.Contents[pos+2] << 8) |
                    (blob.Contents[pos+1] << 16) |
                    (blob.Contents[pos] << 24));
            else
                return (blob.Contents[pos] |
                    (blob.Contents[pos+1] << 8) |
                    (blob.Contents[pos+2] << 16) |
                    (blob.Contents[pos+3] << 24));
        }

Same methods

TargetBinaryReader::PeekInt32 ( ) : int