Constants§
- DISCRIMINATOR_
AS_ BYTES - DISCRIMINATOR_
AS_ HEX - The discriminator of Price Feed Accounts on mainnet
Functions§
- hex_
to_ bytes - A very minimal tool to convert a hex string like “22f123639” into the byte equivalent.
- interpret_
bytes_ as_ i32 - A very minimal utility to interpret some bytes as an i32
- interpret_
bytes_ as_ i64 - A very minimal utility to interpret some bytes as an i64
- interpret_
bytes_ as_ u64 - A very minimal utility to interpret some bytes as an u64
Type Aliases§
- Pubkey
Bytes - Bytes that will be a Pubkey when decoded (this crate has dependencies and therefore does not read Pubkeys)