{"id":63769,"library":"mattetti-filebuffer","title":"filebuffer","description":"Package filebuffer implements file-like interfaces (Reader, ReaderAt, Writer, Seeker, Closer) backed by a byte buffer.","status":"active","version":"1.0.1","language":"go","source_language":null,"source_url":"https://github.com/mattetti/filebuffer","tags":["buffer","file","io","utility"],"install":[{"cmd":"go get github.com/mattetti/filebuffer","lang":"bash","label":"Install github.com/mattetti/filebuffer"}],"dependencies":[],"imports":[{"symbol":"filebuffer","correct":"github.com/mattetti/filebuffer"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/mattetti/filebuffer\"\n)\n\nfunc main() {\n\tbuf := filebuffer.New(nil)\n\tbuf.Write([]byte(\"hello\"))\n\tbuf.Seek(0, 0)\n\tdata := make([]byte, 5)\n\tbuf.Read(data)\n\tfmt.Println(string(data))\n}","lang":"go","description":"Create a filebuffer, write data, seek to start, and read it back."},"warnings":[],"env_vars":null,"search_vec":"'back':14 'buffer':18,19 'byte':17 'closer':13 'file':6,20 'file-lik':5 'filebuff':1,3 'implement':4 'interfac':8 'io':21 'like':7 'packag':2 'reader':9 'readerat':10 'seeker':12 'util':22 'writer':11","created_at":"2026-06-17T16:47:45.851186+00:00","updated_at":"2026-06-17T16:47:45.851186+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/mattetti/filebuffer","github":"https://github.com/mattetti/filebuffer","docs":"https://pkg.go.dev/github.com/mattetti/filebuffer#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}