Module zerovec::samples[][src]

Expand description

Example data useful for testing ZeroVec.

Constants

BINCODE_BUF

Representation of TEST_SLICE in Bincode.

JSON_STR

Representation of TEST_SLICE in JSON.

TEST_BUFFER_LE

An example byte array intended to be used in ZeroVec<u32>.

TEST_SLICE

u32 numbers corresponding to the above byte array.

TEST_SUM

The sum of the numbers in TEST_SLICE.