Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 342 Bytes

serializer.md

File metadata and controls

17 lines (15 loc) · 342 Bytes

Serializer Contract

class Serializer {
  /**
   * @param data - application data
   * @returns result - data that can be transferred by the underlying transporter
   */
  serialize (data) {}

  /**
   * @param data - data received from transporter
   * @returns result - application data
   */
  deserialize (data) {}
}