W3cubDocs

/Pony

Serialise

[Source]

primitive val Serialise

Constructors

create

[Source]

new val create()
: Serialise val^

Returns

Public Functions

signature

[Source]

Returns a byte array that is unique to this compiled Pony binary, for the purposes of comparing before deserialising any data from that source. It is statistically impossible for two serialisation-incompatible Pony binaries to have the same serialise signature.

fun box signature()
: Array[U8 val] val

Returns

eq

[Source]

fun box eq(
  that: Serialise val)
: Bool val

Parameters

Returns

ne

[Source]

fun box ne(
  that: Serialise val)
: Bool val

Parameters

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/serialise-Serialise