/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { combineCodec, getU16Decoder, getU16Encoder, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, } from '@solana/kit'; export type CelestialBodyId = number; export type CelestialBodyIdArgs = CelestialBodyId; export function getCelestialBodyIdEncoder(): FixedSizeEncoder { return getU16Encoder(); } export function getCelestialBodyIdDecoder(): FixedSizeDecoder { return getU16Decoder(); } export function getCelestialBodyIdCodec(): FixedSizeCodec< CelestialBodyIdArgs, CelestialBodyId > { return combineCodec(getCelestialBodyIdEncoder(), getCelestialBodyIdDecoder()); }