ioop

package
v0.5.18 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 4 Imported by: 0

README

サンプルリスト

このディレクトリには以下のサンプルがあります。

file example name note
limitread.go ioop_limit_read io.LimitedReader のサンプルです.
onebyteread.go ioop_onebyte_read 1バイトずつ読み出す io.LimitedReader のサンプルです.

Documentation

Overview

Package ioop -- ioパッケージなどに存在する デコレータ 系の処理についてサンプルが配置されています.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LimitRead

func LimitRead() error

LimitRead は、io.LimitedReader のサンプルです.

通信データのように固定部分を決まったサイズで読み取るときなどに便利。

REFERENCES

func NewRegister

func NewRegister() mapping.Register

NewRegister -- このパッケージ用のサンプルを登録する mapping.Register を生成します。

func OneByteRead

func OneByteRead() error

OneByteRead は、1バイトずつ読み出す io.LimitedReader のサンプルです.

通信データのように固定部分を決まったサイズで読み取るときなどに便利。

REFERENCES

Types

This section is empty.

Jump to

Keyboard shortcuts

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