Module encoding.leb128 stdlib

encoding.leb128
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
0
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

This section is empty.

Imported by

  • Standard Library

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

#fn decode_i32

fn decode_i32(value []u8) (i32, int)

decode_i32 decodes an i32 and returns the number of bytes used from the given leb128 encoded array value

#fn decode_i64

fn decode_i64(value []u8) (i64, int)

decode_i64 decodes an i64 and returns the number of bytes used from the given leb128 encoded array value

#fn decode_u32

fn decode_u32(value []u8) (u32, int)

decode_u32 decodes an u32 and returns the number of bytes used from the given leb128 encoded array value

#fn decode_u64

fn decode_u64(value []u8) (u64, int)

decode_u64 decodes an u64 and returns the number of bytes used from the given leb128 encoded array value

#fn encode_i32

fn encode_i32(value i32) []u8

encode_i32 encodes the value as leb128 encoded byte array

#fn encode_i64

fn encode_i64(value i64) []u8

encode_i64 encodes the value as leb128 encoded byte array

#fn encode_u32

fn encode_u32(value u32) []u8

encode_u32 encodes the value as leb128 encoded byte array

#fn encode_u64

fn encode_u64(value u64) []u8

encode_u64 encodes the value as leb128 encoded byte array

Structs

This section is empty.

Interfaces

This section is empty.

Enums

This section is empty.