• Blog
  • Changelog
  • Follow us on GitHubFollow us on XJoin our Discord server
  • Blog
  • GitHub
  • Releases
  • Getting started

    • Quickstart
  • Library

    • Result
    • Task
    • Type
    • Dependency injection
    • Conventions
  • Local-first

    • Overview
    • Playgrounds
    • Examples
    • Indexes
    • Relay
    • Time travel
    • Migrations
    • Protocol
    • Privacy
    • FAQ
  • Other

    • API reference
    • Comparison
    • Showcase
    • Changelog

API reference / @evolu/common / Type / idBytesToId

Function: idBytesToId()

function idBytesToId(idBytes): string & Brand<"Id">;

Defined in: packages/common/src/Type.ts:1715

Parameters

ParameterType
idBytesUint8Array<ArrayBufferLike> & Brand<"Length16"> & Brand<"IdBytes">

Returns

string & Brand<"Id">

Was this page helpful?

© Copyright 2025. All rights reserved.

Follow us on GitHubFollow us on XJoin our Discord server