Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnderflow = errors.New("underflow writing to FixedBuffer") ErrOverflow = errors.New("overflow writing to FixedBuffer") )
View Source
var ( ErrInvalidSize = errors.New("Creating LimitWriterAt with invalid size.") ErrWriteLimited = errors.New("Write was limited by LimitWriterAt.") )
Functions ¶
func SafeBoolFromPtr ¶
func SafeInt64FromPtr ¶
func SafeStringFromPtr ¶
Types ¶
type FixedBuffer ¶
type FixedBuffer []byte
type LimitWriterAt ¶
type LimitWriterAt struct {
// contains filtered or unexported fields
}
func NewLimitWriterAt ¶
func NewLimitWriterAt(w io.WriterAt, s int64) *LimitWriterAt
Click to show internal directories.
Click to hide internal directories.