Update the maximum serializer identifier reserved for Akka
This commit is contained in:
parent
5edead2bda
commit
3e016e7887
4 changed files with 7 additions and 7 deletions
|
|
@ -25,7 +25,7 @@ package docs.serialization {
|
|||
|
||||
// Pick a unique identifier for your Serializer,
|
||||
// you've got a couple of billions to choose from,
|
||||
// 0 - 16 is reserved by Akka itself
|
||||
// 0 - 40 is reserved by Akka itself
|
||||
def identifier = 1234567
|
||||
|
||||
// "toBinary" serializes the given object to an Array of Bytes
|
||||
|
|
@ -58,7 +58,7 @@ package docs.serialization {
|
|||
|
||||
// Pick a unique identifier for your Serializer,
|
||||
// you've got a couple of billions to choose from,
|
||||
// 0 - 16 is reserved by Akka itself
|
||||
// 0 - 40 is reserved by Akka itself
|
||||
def identifier = 1234567
|
||||
|
||||
// The manifest (type hint) that will be provided in the fromBinary method
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue