Searched refs:HEADER_BYTES (Results 1 – 1 of 1) sorted by relevance
34 private static final int HEADER_BYTES = HEADER_LEN_FIELD_BYTES + HEADER_TYPE_FIELD_BYTES; field in AltsTsiFrameProtector46 checkArgument(maxProtectedFrameBytes > HEADER_BYTES + crypter.getSuffixLength()); in AltsTsiFrameProtector()61 return HEADER_BYTES; in getHeaderBytes()105 this.maxUnprotectedBytesPerFrame = maxProtectedFrameBytes - HEADER_BYTES - suffixBytes; in Protector()148 long protectedBytes = frameNum * (HEADER_BYTES + suffixBytes) + unprotectedBytes; in handleUnprotected()204 this.header = alloc.directBuffer(HEADER_BYTES); in Unprotector()228 if (unhandledBytes < HEADER_BYTES) { in decodeFrame()266 requiredProtectedBytes <= LIMIT_MAX_ALLOWED_FRAME_BYTES - HEADER_BYTES, in handleHeader()315 while (lastBuf.readableBytes() >= HEADER_BYTES + suffixBytes) { in handlePayload()