{"modulePath":"github.com/codeactual/gomodfuzz","version":"v0.1.7","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package bytes\n\n## Types\n\n```go\ntype SharedBuffer struct {\n\t// contains filtered or unexported fields\n}\n```\nSharedBuffer is a goroutine safe bytes.Buffer\n\nOrigin:\n\n\thttps://gist.github.com/arkan/5924e155dbb4254b64614069ba0afd81\n\thttps://github.com/arkan\n\nChanges:\n\n  - buffer field is now a pointer\n  - Renamed to SharedBuffer\n  - Added NewSharedBuffer\n\n```go\nfunc NewSharedBuffer() *SharedBuffer\n```\n\n```go\nfunc (s *SharedBuffer) String() string\n```\nString returns the contents of the unread portion of the buffer as a string.  If the SharedBuffer is a nil pointer, it returns \"\\\u003cnil\u003e\".\n\n```go\nfunc (s *SharedBuffer) Unshared() *std_bytes.Buffer\n```\n\n```go\nfunc (s *SharedBuffer) Write(p []byte) (n int, err error)\n```\nWrite appends the contents of p to the buffer, growing the buffer as needed. It returns the number of bytes written.\n\n","path":"github.com/codeactual/gomodfuzz/internal/third_party/gist.github.com/bytes","name":"bytes","synopsis":"","isRedistributable":true}
