Function toBytes [src]

Convert a public key to raw bytes.

Prototype

pub fn toBytes(pk: PublicKey) [encoded_length]u8

Parameters

pk: PublicKey

Source

pub fn toBytes(pk: PublicKey) [encoded_length]u8 { return pk.bytes; }