package
Version:
v2.286.0
Opens a new window with list of versions in this module.
Published: Feb 17, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package bytes provides byte slice helpers used across go-service.
Clone is an alias for bytes.Clone.
NewBuffer is an alias for bytes.NewBuffer.
NewBufferString is an alias for bytes.NewBufferString.
NewReader is an alias for bytes.NewReader.
String converts b to a string without copying.
The returned string aliases b and is only valid while b's contents remain unchanged.
TrimSpace is an alias for bytes.TrimSpace.
Buffer is an alias for bytes.Buffer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.