binary icon indicating copy to clipboard operation
binary copied to clipboard

Generic and fast binary serializer for Go

Results 6 binary issues
Sort by recently updated
recently updated
newest added

Consider the following program: ```package main import ( "fmt" "github.com/kelindar/binary" ) type Thing struct { N int P *Thing } func main() { x := Thing{N: 1} bin, _ :=...

Support codecs for js client: github.com/kelindar/[email protected]/codecs.go:484:11: undefined: ToBytes github.com/kelindar/[email protected]/encoder.go:190:10: undefined: ToBytes

Use `io.ReadFull` to prevent from reading only partial of a string.

Because the implementation of `Slice` method uses the `Read` method of `io.Reader` wrongly. ```go func (r *streamReader) Slice(n int) (buffer []byte, err error) { if n

I found in the kelindar source code that it is possible to customize serialization (custom GetBinaryCodec or custom MarshalBinary+UnmarshalBinary methods), but there is only one sentence about this in the...

Hello! I'm trying to compile encoding+deconidng code to wasi targert with tinygo 0.30.0 and have the following errors: ``` $ make tinygo build -o main.wasm -target ./target.json -opt=2 -gc=precise ....