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

x/polkadot/types/primitive/index.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.37/types/primitive/index.ts";

Constructors

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

Properties

readonly
encodedLength: number

Methods

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