Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/types-codec/mod.ts>Bytes

Package publishing for deno.land/x/polkadot
Go to Latest
class Bytes
extends Raw
import { Bytes } from "https://deno.land/x/polkadot@0.2.28/types-codec/mod.ts";

Constructors

new
Bytes(registry: Registry, value?: AnyU8a)

Properties

readonly
encodedLength: number

Methods

inspect(isBare?: boolean): Inspect
toRawType(): string
toU8a(isBare?: boolean): Uint8Array