C# 클래스 dnSpy.Hex.HexCachedBufferStreamImpl

상속: dnSpy.Contracts.Hex.HexCachedBufferStream
파일 보기 프로젝트 열기: 0xd4d/dnSpy

공개 메소드들

메소드 설명
ClearCache ( ) : void
GetSpanInfo ( HexPosition position ) : HexSpanInfo
HexCachedBufferStreamImpl ( dnSpy.Contracts.Hex.HexSimpleBufferStream simpleStream, bool disposeStream ) : System
Invalidate ( HexSpan span ) : void
ReadByte ( HexPosition position ) : byte
ReadBytes ( HexPosition position, long length ) : byte[]
ReadBytes ( HexPosition position, byte destination, long destinationIndex, long length ) : void
ReadDouble ( HexPosition position ) : double
ReadHexBytes ( HexPosition position, long length ) : dnSpy.Contracts.Hex.HexBytes
ReadInt16 ( HexPosition position ) : short
ReadInt32 ( HexPosition position ) : int
ReadInt64 ( HexPosition position ) : long
ReadSByte ( HexPosition position ) : sbyte
ReadSingle ( HexPosition position ) : float
ReadUInt16 ( HexPosition position ) : ushort
ReadUInt32 ( HexPosition position ) : uint
ReadUInt64 ( HexPosition position ) : ulong
TryReadByte ( HexPosition position ) : int
Write ( HexPosition position, byte source, long sourceIndex, long length ) : void

보호된 메소드들

메소드 설명
DisposeCore ( ) : void

비공개 메소드들

메소드 설명
ClearAll ( ) : void
CreateBitArray ( byte destination, long invalidBytes, long bytesRead ) : BitArray
GetCachedPage_NoLock ( HexPosition position ) : CachedPage
Initialize_NoLock ( CachedPage cp, ulong pageOffset ) : void
InvalidateCore ( HexSpan span ) : void
IsPowerOfTwo ( ulong v ) : bool
ReadSlow ( HexPosition position, int size ) : byte[]

메소드 상세

ClearCache() 공개 메소드

public ClearCache ( ) : void
리턴 void

DisposeCore() 보호된 메소드

protected DisposeCore ( ) : void
리턴 void

GetSpanInfo() 공개 메소드

public GetSpanInfo ( HexPosition position ) : HexSpanInfo
position HexPosition
리턴 dnSpy.Contracts.Hex.HexSpanInfo

HexCachedBufferStreamImpl() 공개 메소드

public HexCachedBufferStreamImpl ( dnSpy.Contracts.Hex.HexSimpleBufferStream simpleStream, bool disposeStream ) : System
simpleStream dnSpy.Contracts.Hex.HexSimpleBufferStream
disposeStream bool
리턴 System

Invalidate() 공개 메소드

public Invalidate ( HexSpan span ) : void
span HexSpan
리턴 void

ReadByte() 공개 메소드

public ReadByte ( HexPosition position ) : byte
position HexPosition
리턴 byte

ReadBytes() 공개 메소드

public ReadBytes ( HexPosition position, long length ) : byte[]
position HexPosition
length long
리턴 byte[]

ReadBytes() 공개 메소드

public ReadBytes ( HexPosition position, byte destination, long destinationIndex, long length ) : void
position HexPosition
destination byte
destinationIndex long
length long
리턴 void

ReadDouble() 공개 메소드

public ReadDouble ( HexPosition position ) : double
position HexPosition
리턴 double

ReadHexBytes() 공개 메소드

public ReadHexBytes ( HexPosition position, long length ) : dnSpy.Contracts.Hex.HexBytes
position HexPosition
length long
리턴 dnSpy.Contracts.Hex.HexBytes

ReadInt16() 공개 메소드

public ReadInt16 ( HexPosition position ) : short
position HexPosition
리턴 short

ReadInt32() 공개 메소드

public ReadInt32 ( HexPosition position ) : int
position HexPosition
리턴 int

ReadInt64() 공개 메소드

public ReadInt64 ( HexPosition position ) : long
position HexPosition
리턴 long

ReadSByte() 공개 메소드

public ReadSByte ( HexPosition position ) : sbyte
position HexPosition
리턴 sbyte

ReadSingle() 공개 메소드

public ReadSingle ( HexPosition position ) : float
position HexPosition
리턴 float

ReadUInt16() 공개 메소드

public ReadUInt16 ( HexPosition position ) : ushort
position HexPosition
리턴 ushort

ReadUInt32() 공개 메소드

public ReadUInt32 ( HexPosition position ) : uint
position HexPosition
리턴 uint

ReadUInt64() 공개 메소드

public ReadUInt64 ( HexPosition position ) : ulong
position HexPosition
리턴 ulong

TryReadByte() 공개 메소드

public TryReadByte ( HexPosition position ) : int
position HexPosition
리턴 int

Write() 공개 메소드

public Write ( HexPosition position, byte source, long sourceIndex, long length ) : void
position HexPosition
source byte
sourceIndex long
length long
리턴 void