Skip to content

Commit ee59e59

Browse files
committed
Add note about SerializationContext.
1 parent d5eaab5 commit ee59e59

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ serializer.Pack(stream, obj)
3131
Dim unpackedObject = serializer.Unpack(stream)
3232
```
3333

34+
**For production environment, you should instantiate own `SerializationCOntext` and manage its lifetime. It is good idea to treat it as singleton because `SerializationContext` is thread-safe.**
35+
3436
## Features
3537

3638
* Fast and interoperable binary format serialization with simple API.

0 commit comments

Comments
 (0)