Skip to content

Commit

Permalink
Add Usage
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-mint committed Jan 21, 2023
1 parent e4ff759 commit 50c88d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Code Generation based Go Type Serialization Library

**Warning: UnmarshalGOBE() may cause a DoS vulnerability, do not use it with untrusted data.**

# Usage

```go
buffer := make([]byte, obj.SizeGOBE())
obj.MarshalGOBE(buffer)
```

# Installation

```bash
Expand Down

0 comments on commit 50c88d3

Please sign in to comment.