Class UnlimitedByteProviderWrapper

java.lang.Object
ghidra.app.util.bin.ByteProviderWrapper
ghidra.app.util.bin.UnlimitedByteProviderWrapper
All Implemented Interfaces:
ByteProvider, Closeable, AutoCloseable

public class UnlimitedByteProviderWrapper extends ByteProviderWrapper
A ByteProvider constrained to a sub-section of an existing ByteProvider although reads beyond the specified sub-section are permitted but will return zero byte values. The methods ByteProviderWrapper.length() and ByteProvider.getInputStream(long) remain bounded by the specified sub-section.