Searched refs:unprotectedBytes (Results 1 – 2 of 2) sorted by relevance
134 long unprotectedBytes = 0; in handleUnprotected() local136 unprotectedBytes += buf.readableBytes(); in handleUnprotected()139 checkArgument(unprotectedBytes > 0); in handleUnprotected()142 long frameNum = unprotectedBytes / maxUnprotectedBytesPerFrame + 1; in handleUnprotected()143 int lastFrameUnprotectedBytes = (int) (unprotectedBytes % maxUnprotectedBytesPerFrame); in handleUnprotected()148 long protectedBytes = frameNum * (HEADER_BYTES + suffixBytes) + unprotectedBytes; in handleUnprotected()
243 byte[] unprotectedBytes = new byte[serverFrameSize - 500]; in unprotectLargeIncomingFrame()244 Arrays.fill(unprotectedBytes, (byte) 7); in unprotectLargeIncomingFrame()245 ByteBuf unprotectedData = Unpooled.wrappedBuffer(unprotectedBytes); in unprotectLargeIncomingFrame()246 unprotectedData.writerIndex(unprotectedBytes.length); in unprotectLargeIncomingFrame()273 assertThat(unprotectedBytes.length).isEqualTo(receivedBytes.length); in unprotectLargeIncomingFrame()274 assertThat(unprotectedBytes).isEqualTo(receivedBytes); in unprotectLargeIncomingFrame()