Searched refs:headerBytesToRead (Results 1 – 2 of 2) sorted by relevance
90 int headerBytesToRead = Math.min(data.bytesLeft(), SECTION_HEADER_LENGTH - bytesRead); in consume() local91 data.readBytes(sectionData.data, bytesRead, headerBytesToRead); in consume()92 bytesRead += headerBytesToRead; in consume()
255 int headerBytesToRead = Math.min(in.readableBytes(), header.writableBytes()); in handleHeader() local256 header.writeBytes(in, headerBytesToRead); in handleHeader()257 unhandledBytes -= headerBytesToRead; in handleHeader()