
com.groupbyinc.flux.common.ning.compress.lzf.impl.UnsafeChunkDecoder.class Maven / Gradle / Ivy
???? 2 ? Dcom/groupbyinc/flux/common/ning/compress/lzf/impl/UnsafeChunkDecoder 9com/groupbyinc/flux/common/ning/compress/lzf/ChunkDecoder UnsafeChunkDecoder.java unsafe Lsun/misc/Unsafe; BYTE_ARRAY_OFFSET J ()V
this FLcom/groupbyinc/flux/common/ning/compress/lzf/impl/UnsafeChunkDecoder; decodeChunk (Ljava/io/InputStream;[B[B)I java/io/IOException
readHeader (Ljava/io/InputStream;[B)I
_reportCorruptHeader
uint16 ([BI)I
readFully (Ljava/io/InputStream;Z[BII)V
!
([BI[BII)V #
$ is Ljava/io/InputStream; inputBuffer [B outputBuffer bytesRead I type compLen uncompLen 9com/groupbyinc/flux/common/ning/compress/lzf/LZFException 0 java/lang/System 2 arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V 4 5
3 6
copyUpTo32 8 #
9 ; = sun/misc/Unsafe ? getLong (Ljava/lang/Object;J)J A B
@ C putLong (Ljava/lang/Object;JJ)V E F
@ G copyOverlappingShort ([BIII)I I J
K copyOverlappingLong M J
N ([BIII)V 8 P
Q copyLong ([BIIII)V S T
U java/lang/StringBuilder W
X 2Corrupt data: overrun in decompress, input offset Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; \ ]
X ^ (I)Ljava/lang/StringBuilder; \ `
X a , output offset c toString ()Ljava/lang/String; e f
X g (Ljava/lang/String;)V
i
1 j rawOffset ctrl len in inPos out outPos outEnd
outputEnd8 outputEnd32 skipOrDecodeChunk (Ljava/io/InputStream;[B[BJ)I skipFully (Ljava/io/InputStream;I)V x y
z maxToSkip offset end buffer
inputIndex outputIndex lengthMinusOne inPtr outPtr copyLongTail ? P
? getInt (Ljava/lang/Object;J)I ? ?
@ ? putInt (Ljava/lang/Object;JI)V ? ?
@ ? length inEnd java/lang/Exception ? theUnsafe ? java/lang/Class ? getDeclaredField -(Ljava/lang/String;)Ljava/lang/reflect/Field; ? ?
? ? java/lang/reflect/Field ?
setAccessible (Z)V ? ?
? ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? java/lang/RuntimeException ? (Ljava/lang/Throwable;)V
?
? ? ) arrayBaseOffset (Ljava/lang/Class;)I ? ?
@ ? Ljava/lang/reflect/Field; e Ljava/lang/Exception; Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile !
? / *?
? ? ? ( ? d+,? 6? ,3Z? ,3V? ? ?*? ,36,? 6? +-? "?+,`? ",? 6*,-? %? ? R d d &