BinarySerializer

org.beangle.commons.io.BinarySerializer

Attributes

Graph
Supertypes
trait Deserializer
trait Serializer
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def asBytes(data: Any): Array[Byte]
def asObject[T](clazz: Class[T], data: Array[Byte]): T
def registerClass(clazz: Class[_]): Unit

Concrete methods

override def mediaTypes: Seq[MediaType]

Attributes

Definition Classes

Inherited methods

def deserialize[T](clazz: Class[T], is: InputStream, params: Map[String, Any]): T

Deserializer a object from inputstream,then close then stream,return the object.

Deserializer a object from inputstream,then close then stream,return the object.

Attributes

Inherited from:
Deserializer
def serialize(data: Any, os: OutputStream, params: Map[String, Any]): Unit

Attributes

Inherited from:
Serializer