Movatterモバイル変換


[0]ホーム

URL:


zstd

packagestandard library
go1.25.2Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License:BSD-3-ClauseImports:5Imported by:0

Details

Repository

cs.opensource.google/go/go

Links

Documentation

Overview

Package zstd provides a decompressor for zstd streams,described inRFC 8878. It does not support dictionaries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeReader

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

Reader implementsio.Reader to read a zstd compressed stream.

funcNewReader

func NewReader(inputio.Reader) *Reader

NewReader creates a new Reader that decompresses data from the given reader.

func (*Reader)Read

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

Read implementsio.Reader.

func (*Reader)ReadByte

func (r *Reader) ReadByte() (byte,error)

ReadByte implementsio.ByteReader.

func (*Reader)Reset

func (r *Reader) Reset(inputio.Reader)

Reset discards the current state and starts reading a new stream from r.This permits reusing a Reader rather than allocating a new one.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp