rezlib

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package rezlib wraps a zlib reader and makes it possible to read until the last current input flush boundary by reading until EOF.

Inspiration from https://github.com/golang/go/issues/48877

TODO: force deflate only?

This is used by TLS deflate (seems be zlib?) where a flush is done between each record

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(r io.Reader) (*Reader, error)

func (*Reader) Read

func (r *Reader) Read(b []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL