Iostream
Simple binary reader and writer
Install / Use
/learn @kelindar/IostreamREADME
Simple Binary Stream Reader/Writer
This package contains a set of simple utility reader and writer that can be used to efficiently read/write binary information over the wire.
import "github.com/kelindar/iostream"
Usage
In order to use it, you can simply instantiate either a Reader or a Writer which require an io.Reader or io.Writer respectively. Here's a simple example
// Fake stream
stream := bytes.NewBuffer(nil)
// Write some data into the stream...
w := iostream.NewWriter(stream)
w.WriteString("Roman")
w.WriteUint32(36)
// Read the data back...
r := iostream.NewReader(stream)
name, err := r.ReadString()
age, err := r.ReadUint32()
Contributing
We are open to contributions, feel free to submit a pull request and we'll review it as quickly as we can. This library is maintained by Roman Atachiants
License
Tile is licensed under the MIT License.
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
