Home
last modified time | relevance | path

Searched refs:gzipMetadataReader (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGzipInflatingBuffer.java160 private final GzipMetadataReader gzipMetadataReader = new GzipMetadataReader(); field in GzipInflatingBuffer
202 return gzipMetadataReader.readableBytes() != 0 || state != State.HEADER; in hasPartialData()
313 || (state == State.HEADER && gzipMetadataReader.readableBytes() < GZIP_HEADER_MIN_SIZE); in inflateBytes()
319 if (gzipMetadataReader.readableBytes() < GZIP_HEADER_MIN_SIZE) { in processHeader()
322 if (gzipMetadataReader.readUnsignedShort() != GZIP_MAGIC) { in processHeader()
325 if (gzipMetadataReader.readUnsignedByte() != 8) { in processHeader()
328 gzipHeaderFlag = gzipMetadataReader.readUnsignedByte(); in processHeader()
329 gzipMetadataReader.skipBytes(6 /* remaining header bytes */); in processHeader()
339 if (gzipMetadataReader.readableBytes() < UNSIGNED_SHORT_SIZE) { in processHeaderExtraLen()
342 headerExtraToRead = gzipMetadataReader.readUnsignedShort(); in processHeaderExtraLen()
[all …]