All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.io.Channels.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?&com/groupbyinc/flux/common/io/Channelsjava/lang/Object
Channels.java.Lcom/groupbyinc/flux/common/SuppressForbidden;reasonChannel#readREAD_CHUNK_SIZEI@WRITE_CHUNK_SIZE $assertionsDisabledZ()V
this(Lcom/groupbyinc/flux/common/io/Channels;readFromFileChannel%(Ljava/nio/channels/FileChannel;JI)[Bjava/io/IOException#readFromFileChannelWithEofException'(Ljava/nio/channels/FileChannel;J[BII)V
channelLjava/nio/channels/FileChannel;positionJlengthres[B'(Ljava/nio/channels/FileChannel;J[BII)I%
&java/io/EOFException(java/lang/StringBuilder*
+read past EOF. pos [-append-(Ljava/lang/String;)Ljava/lang/StringBuilder;/0
+1(J)Ljava/lang/StringBuilder;/3
+4] length: [6(I)Ljava/lang/StringBuilder;/8
+9] end: [;java/nio/channels/FileChannel=size()J?@
>A]CtoString()Ljava/lang/String;EF
+G(Ljava/lang/String;)VI
)JchannelPositiondest
destOffsetreadjava/nio/ByteBufferPwrap([BII)Ljava/nio/ByteBuffer;RS
QT8(Ljava/nio/channels/FileChannel;JLjava/nio/ByteBuffer;)IV
WbufferLjava/nio/ByteBuffer;8(Ljava/nio/channels/FileChannel;JLjava/nio/ByteBuffer;)Vlimit()I\]
Q^isDirect()Z`a
Qb	remainingd]
QereadSingleChunkgV
h	duplicate()Ljava/nio/ByteBuffer;jk
QlhasRemainingna
Qo ]
Qqjava/lang/Mathsmin(II)Iuv
tw(I)Ljava/nio/Buffer;\y
Qz y
Q|java/lang/Throwable~	?java/lang/AssertionError?Bfailed to read an entire buffer but also didn't get an EOF (read [?
] needed [?(Ljava/lang/Object;)V?
??	bytesReadbytesToRead	tmpBuffer(Ljava/nio/ByteBuffer;J)IO?
>??FileChannel.read with non zero-length bb.remaining() must always read at least one byte (FileChannel is in blocking mode, see spec of ReadableByteChannel)?writeToChannel,([BLjava/nio/channels/WritableByteChannel;)V.([BIILjava/nio/channels/WritableByteChannel;)V??
?source'Ljava/nio/channels/WritableByteChannel;%java/nio/channels/WritableByteChannel?write(Ljava/nio/ByteBuffer;)I????'wrote more then expected bytes (length=?)?offsettoWritewritten?(Ljava/nio/ByteBuffer;Ljava/nio/channels/WritableByteChannel;)V
byteBufferjava/lang/Class?desiredAssertionStatus?a
??
ConstantValueCodeLocalVariableTableLineNumberTable
Exceptions
StackMapTable
SourceFileRuntimeInvisibleAnnotations1	
?
?
?3*????
!"	?a?:*???* !"
#$?123?	??H*-?'6?9?)Y?+Y?,.?2?57?2?:HHL!HM$HN
H"
<O
?BCDGF??G?	%?r-?U:*?X??>L!M$N
"

YZ?
T
U?	[??F*-?X6?;?)Y?+Y?,.?2?57?2-?_?:O
?bc
dEf??E?	V??
?-?c?
-?f@?
*-?i?6-?f6-?m:-?p?R-?_?r@`?x?{W*?i6?6-?r?}W?`6?a@-?r?}W???-?r?}W?:	-?r?}W	????5?.??Y?+Y?,??2?:??2?:D?2?H????'V?c}?????HM-O
??
!??
'??Z??L!?MZ?Zrsuv!y'{.|D}M~RV?`c?j?p?z?}?????????????Q?;?L7?
gV??B6-?p?8*-??6??????
??Y????`6?a@?????4*O
BBL!BMZ??
?*
??
????/?6?<????????	???A	**?+????	?$	??
???	???y ?x6*?U:-??6d=?, ?x6?r`?{W-??6d=??ֲ??'?#??Y?+Y?,??2?:??2?H?????Hy?$y?
y"
y?	p?
gYZ]?
?.?	???!?%?.?<?F?N?x???!Q,)?	???z*?c?
*?f ?*?p?d+*??W???*?mM*?p?5,*?_,?r `?x?{W,?p?+,??W???*,?r?}W???*,?r?}W?N*,?r?}W-??(am? (Q?Zz?Zz??:???#?(?/?C?J?U?a?j?m?w?y???QK????4?????????@??s




© 2015 - 2024 Weber Informatics LLC | Privacy Policy