Adding more docs to Serialization and making sure that the Protobuf stuff gets its manifests
This commit is contained in:
parent
cffe60bf43
commit
e78739f7e5
5 changed files with 29 additions and 13 deletions
|
|
@ -16,7 +16,7 @@ import com.google.protobuf.Message
|
|||
|
||||
class ProtobufSerializer extends Serializer {
|
||||
val ARRAY_OF_BYTE_ARRAY = Array[Class[_]](classOf[Array[Byte]])
|
||||
def includeManifest: Boolean = false
|
||||
def includeManifest: Boolean = true
|
||||
def identifier = 2: Serializer.Identifier
|
||||
|
||||
def toBinary(obj: AnyRef): Array[Byte] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue