package binary
- Source
- package.scala
- Alphabetic
- By Inheritance
- binary
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class BinaryException extends SwamException
- trait InstCodec extends TypeCodec
- class ModuleParser[F[_]] extends AnyRef
A binary section stream parser.
A binary section stream parser. The parser uses the validator to validate the stream.
- trait TypeCodec extends AnyRef
- type VarResut[F[_]] = (Long, Option[(ByteVector, Int, Stream[F, Byte])])
Value Members
- val noop: Codec[Unit]
- val varint32: Codec[Int]
- val varint33: Codec[Int]
- val varint64: Codec[Long]
- val varint7: Codec[Int]
- val varuint32: Codec[Int]
- val varuint7: Codec[Int]
- def vectorLookahead[T](cond: Decoder[Boolean], element: Codec[T]): Codec[Vector[T]]
- def vectorWithN[T](size: Codec[Int], value: Codec[T]): Codec[Vector[T]]
- object ModuleStream
The module streams expose way to encode and decode WebAssembly modules in binary format.
The module streams expose way to encode and decode WebAssembly modules in binary format. Section are streamed in the order they arrive, which may not be correct when a module is parsed. It is up to the client code to check section constraints.
- object WasmCodec extends InstCodec
- object eoi extends Codec[Unit]