buffer

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: MIT Imports: 4 Imported by: 0

README

buffer

TODO


Copyright (c) 2022 Archivage Numérique

Documentation

Overview

Package buffer TODO

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

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

func (*Buffer) AppendBool

func (b *Buffer) AppendBool(v bool)

func (*Buffer) AppendByte

func (b *Buffer) AppendByte(v byte)

func (*Buffer) AppendFloat

func (b *Buffer) AppendFloat(v float64, fmt byte, prec, bitSize int)

func (*Buffer) AppendInt

func (b *Buffer) AppendInt(v int64, base int)

func (*Buffer) AppendLJString

func (b *Buffer) AppendLJString(s string, v byte, size int)

func (*Buffer) AppendRJString

func (b *Buffer) AppendRJString(s string, v byte, size int)

func (*Buffer) AppendString

func (b *Buffer) AppendString(s string)

func (*Buffer) AppendTime

func (b *Buffer) AppendTime(v time.Time, layout string)

func (*Buffer) AppendUint

func (b *Buffer) AppendUint(v uint64, base int)

func (*Buffer) Bytes

func (b *Buffer) Bytes() []byte

func (*Buffer) Cap

func (b *Buffer) Cap() int

func (*Buffer) Free

func (b *Buffer) Free()

func (*Buffer) Len

func (b *Buffer) Len() int

func (*Buffer) Reset

func (b *Buffer) Reset()

func (*Buffer) String

func (b *Buffer) String() string

func (*Buffer) Write

func (b *Buffer) Write(bs []byte) (int, error)

func (*Buffer) WriteByte

func (b *Buffer) WriteByte(v byte) error

func (*Buffer) WriteString

func (b *Buffer) WriteString(s string) (int, error)

type Pool

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

func NewPool

func NewPool(bufSize int) *Pool

func (Pool) Get

func (p Pool) Get() *Buffer

Jump to

Keyboard shortcuts

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