{"id":75292,"library":"jackc-chunkreader","title":"Chunkreader","description":"Package chunkreader provides an opinionated, efficient buffered reader.","status":"active","version":"1.0.0","language":"go","source_language":null,"source_url":"https://github.com/jackc/chunkreader","tags":["buffered-reader","io","chunk"],"install":[{"cmd":"go get github.com/jackc/chunkreader","lang":"bash","label":"Install github.com/jackc/chunkreader"}],"dependencies":[],"imports":[{"symbol":"chunkreader","correct":"github.com/jackc/chunkreader"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/jackc/chunkreader\"\n\t\"strings\"\n)\n\nfunc main() {\n\treader := chunkreader.NewReader(strings.NewReader(\"hello world\"))\n\tchunk, err := reader.ReadChunk(5)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(string(chunk))\n}","lang":"go","description":"Read a chunk of data from a reader"},"warnings":[],"env_vars":null,"search_vec":"'buffer':8,11 'buffered-read':10 'chunk':14 'chunkread':1,3 'effici':7 'io':13 'opinion':6 'packag':2 'provid':4 'reader':9,12","created_at":"2026-06-17T19:14:52.871556+00:00","updated_at":"2026-06-17T19:14:52.871556+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/jackc/chunkreader","github":"https://github.com/jackc/chunkreader","docs":"https://pkg.go.dev/github.com/jackc/chunkreader#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}}