Skip to main content

Class: FeedIndex

Defined in: bee-js/src/utils/typed-bytes.ts:202

Extends

Constructors

Constructor

new FeedIndex(bytes): FeedIndex

Defined in: bee-js/src/utils/typed-bytes.ts:206

Parameters

bytes

string | Uint8Array<ArrayBufferLike> | Bytes

Returns

FeedIndex

Overrides

Bytes.constructor

Properties

bytes

protected readonly bytes: Uint8Array

Defined in: bee-js/src/utils/bytes.ts:7

Inherited from

Bytes.bytes


length

readonly length: number

Defined in: bee-js/src/utils/bytes.ts:8

Inherited from

Bytes.length


LENGTH

readonly static LENGTH: 8 = 8

Defined in: bee-js/src/utils/typed-bytes.ts:203


MINUS_ONE

readonly static MINUS_ONE: FeedIndex

Defined in: bee-js/src/utils/typed-bytes.ts:204

Methods

equals()

equals(other): boolean

Defined in: bee-js/src/utils/bytes.ts:83

Parameters

other

string | Uint8Array<ArrayBufferLike> | Bytes

Returns

boolean

Inherited from

Bytes.equals


next()

next(): FeedIndex

Defined in: bee-js/src/utils/typed-bytes.ts:218

Returns

FeedIndex


offset()

offset(index): Uint8Array

Defined in: bee-js/src/utils/bytes.ts:51

Parameters

index

number

Returns

Uint8Array

Inherited from

Bytes.offset


toBase32()

toBase32(): string

Defined in: bee-js/src/utils/bytes.ts:67

Returns

string

Inherited from

Bytes.toBase32


toBase64()

toBase64(): string

Defined in: bee-js/src/utils/bytes.ts:63

Returns

string

Inherited from

Bytes.toBase64


toBigInt()

toBigInt(): bigint

Defined in: bee-js/src/utils/typed-bytes.ts:214

Returns

bigint


toHex()

toHex(): string

Defined in: bee-js/src/utils/bytes.ts:59

Returns

string

Inherited from

Bytes.toHex


toJSON()

toJSON(): unknown

Defined in: bee-js/src/utils/bytes.ts:79

Returns

unknown

Inherited from

Bytes.toJSON


toString()

toString(): string

Defined in: bee-js/src/utils/bytes.ts:71

Returns

string

Inherited from

Bytes.toString


toUint8Array()

toUint8Array(): Uint8Array

Defined in: bee-js/src/utils/bytes.ts:55

Returns

Uint8Array

Inherited from

Bytes.toUint8Array


toUtf8()

toUtf8(): string

Defined in: bee-js/src/utils/bytes.ts:75

Returns

string

Inherited from

Bytes.toUtf8


fromBigInt()

static fromBigInt(number): FeedIndex

Defined in: bee-js/src/utils/typed-bytes.ts:210

Parameters

number

bigint

Returns

FeedIndex


fromSlice()

static fromSlice(bytes, start, length?): Bytes

Defined in: bee-js/src/utils/bytes.ts:43

Parameters

bytes

Uint8Array

start

number

length?

number

Returns

Bytes

Inherited from

Bytes.fromSlice


fromUtf8()

static fromUtf8(utf8): Bytes

Defined in: bee-js/src/utils/bytes.ts:39

Parameters

utf8

string

Returns

Bytes

Inherited from

Bytes.fromUtf8


keccak256()

static keccak256(bytes): Bytes

Defined in: bee-js/src/utils/bytes.ts:35

Parameters

bytes

string | ArrayBuffer | Uint8Array<ArrayBufferLike> | Bytes

Returns

Bytes

Inherited from

Bytes.keccak256

💬 Get Help