The bindings documented in this section are provided by the racket/fasl library, not racket/base or racket.
v : any/c out : (or/c output-port? #f) = #f
in : (or/c input-port? bytes?)
The s-exp->fasl function serializes v to a byte string, printing it directly to out if out is an output port or return the byte string otherwise. The fasl->s-exp function decodes a value from a byte string (supplied either directly or as an input port) that was encoded with s-exp->fasl.
The byte-string encoding produced by s-exp->fasl is specific to a version of Racket. That is, the resulting byte string can be decoded back to v only using the same version with which it was encoded.