Module v.gen.js.sourcemap.vlq stdlib

v.gen.js.sourcemap.vlq
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
1
Imported by:
1
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

  • Standard Library

Imported by

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

#fn decode

fn decode(mut input &io.Reader) !i64

Decode a single VLQ value from the input stream, returning the value.

Range

Supports all numbers that can be represented by a sign bit and a 63 bit absolute value: [-(2^63 - 1), 2^63 - 1].

Note that i64::MIN = -(2^63) cannot be represented in that form, and this NOT IMPLEMENTED: function will return Error::Overflowed when attempting to decode it.

#fn encode

fn encode(value i64, mut output &io.Writer) !

Encode a value as Base64 VLQ, sending it to the writer

Structs

This section is empty.

Interfaces

This section is empty.

Enums

This section is empty.