Mono.Debugger.TargetBinaryReader.PeekInt16 C# (CSharp) Method

PeekInt16() public method

public PeekInt16 ( long pos ) : short
pos long
return short
        public short PeekInt16(long pos)
        {
            if (swap)
                return ((short) (blob.Contents[pos+1] |
                         (blob.Contents[pos] << 8)));
            else
                return ((short) (blob.Contents[pos] |
                         (blob.Contents[pos+1] << 8)));
        }

Same methods

TargetBinaryReader::PeekInt16 ( ) : short