Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SeekBuffer ¶
type SeekBuffer struct {
// contains filtered or unexported fields
}
SeekBuffer is read Only
func NewSeekBuffer ¶
func NewSeekBuffer(buf []byte) *SeekBuffer
func (*SeekBuffer) Bytes ¶
func (b *SeekBuffer) Bytes() []byte
func (*SeekBuffer) Len ¶
func (b *SeekBuffer) Len() int
func (*SeekBuffer) Seek ¶
func (b *SeekBuffer) Seek(offset int64, whence int) (int64, error)
Seek sets the offset for the next Read or Write to offset, interpreted according to whence:
0 means relative to the origin of the file, 1 means relative to the current offset, and 2 means relative to the end.
Seek returns the new offset and an error, if any.
func (*SeekBuffer) String ¶
func (b *SeekBuffer) String() string
Click to show internal directories.
Click to hide internal directories.