Top Description Fields Constructors Methods
org.glassfish.grizzly.compression.lzma.impl.lz

public Class OutWindow

extends Object
Class Inheritance
Imports
java.io.IOException, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.compression.lzma.LZMADecoder, org.glassfish.grizzly.memory.MemoryManager

OutWindow
Author
Igor Pavlov

Field Summary

Modifier and TypeField and Description
pack-priv byte[]
pack-priv LZMADecoder.LZMAInputState
pack-priv int
pack-priv int
pack-priv int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
copyBlock(int distance, int len)

public void
create(int windowSize)

public void
public byte
getByte(int distance)

public void
init(boolean solid)

public void
public void
putByte(byte b)

public void
private static Buffer
resizeBuffer(final MemoryManager<E extends Buffer> memoryManager, final Buffer buffer, final int grow)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_bufferback to summary
pack-priv byte[] _buffer
_decoderStateback to summary
pack-priv LZMADecoder.LZMAInputState _decoderState
_posback to summary
pack-priv int _pos
_streamPosback to summary
pack-priv int _streamPos
_windowSizeback to summary
pack-priv int _windowSize

Constructor Detail

OutWindowback to summary
public OutWindow()

Method Detail

copyBlockback to summary
public void copyBlock(int distance, int len) throws IOException
createback to summary
public void create(int windowSize)
flushback to summary
public void flush() throws IOException
getByteback to summary
public byte getByte(int distance)
initback to summary
public void init(boolean solid)
initFromStateback to summary
public void initFromState(LZMADecoder.LZMAInputState decoderState) throws IOException
putByteback to summary
public void putByte(byte b) throws IOException
releaseBufferback to summary
public void releaseBuffer() throws IOException
resizeBufferback to summary
private static Buffer resizeBuffer(final MemoryManager<E extends Buffer> memoryManager, final Buffer buffer, final int grow)
Annotations
@SuppressWarnings:unchecked