Searched refs:readSlice (Results 1 – 5 of 5) sorted by relevance
231 ByteBuf in1 = in.readSlice(AltsTsiFrameProtector.getHeaderBytes() - 1); in parserHeader_frameOkFragment()232 ByteBuf in2 = in.readSlice(1); in parserHeader_frameOkFragment()255 ByteBuf in1 = in.readSlice(AltsTsiFrameProtector.getHeaderBytes() - 1); in parseHeader_frameFailFragment()256 ByteBuf in2 = in.readSlice(1); in parseHeader_frameFailFragment()331 List<ByteBuf> framePlain1 = Collections.singletonList(plain.readSlice(payloadBytes1)); in parseFrame_twoFramesNoFragment()380 List<ByteBuf> framePlain1 = Collections.singletonList(plain.readSlice(payloadBytes1)); in parseFrame_twoFramesNoFragment_Leftover()448 List<ByteBuf> framePlain1 = Collections.singletonList(plain.readSlice(payloadBytes1)); in parseFrame_twoFramesFragmentSecond()464 protectedBuf.readSlice( in parseFrame_twoFramesFragmentSecond()473 assertThat(out1).isEqualTo(plain.readSlice(payloadBytes1)); in parseFrame_twoFramesFragmentSecond()
65 ByteBuf ciphertext = ciphertextAndTag.readSlice(ciphertextAndTag.readableBytes() - TAG_BYTES); in decrypt()
146 buf = protect.readSlice(size); in sendMessage()
173 framePlain.add(in.readSlice(unprotectedBytesLeft)); in handleUnprotected()288 firstFrameCiphertext.add(buf.readSlice(requiredCiphertextBytes)); in handlePayload()327 ciphertextsAndTags.add(lastBuf.readSlice(payloadSize + suffixBytes)); in handlePayload()
38 function readSlice( function252 readSlice(this.file!, start, end, (source, end, buffer) => {