Documentation
¶
Overview ¶
Package bufferop -- bytes.Buffer についてのサンプルが配置されています.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvailableBuffer ¶ added in v0.5.25
func AvailableBuffer() error
AvailableBuffer は、Go 1.21 で追加された Buffer.AvailableBuffer() についてのサンプルです。
> AvailableBuffer returns an empty buffer with b.Available() capacity. This buffer is intended to be appended to and passed to an immediately succeeding Buffer.Write call. The buffer is only valid until the next write operation on b.
> (AvailableBufferは、b.Available()の容量を持つ空のバッファを返します。 このバッファは、直後のBuffer.Write呼び出しに追加され、渡されることを意図しています。 このバッファは、bに対する次の書き込み操作が行われるまで有効です。)
REFERENCES ¶
func NewRegister ¶
NewRegister -- このパッケージ用のサンプルを登録する mapping.Register を生成します。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.