Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BN256G2Point

Hierarchy

  • BN256G2Point

Implements

Index

Constructors

constructor

Properties

Private g2

g2: G2

Static MARSHAL_ID

MARSHAL_ID: Buffer = Buffer.from("bn256.g2")

Methods

add

base

clone

data

  • data(): Buffer

embed

  • Parameters

    • data: Buffer
    • Optional callback: function
        • (length: number): Buffer
        • Parameters

          • length: number

          Returns Buffer

    Returns BN256G2Point

embedLen

  • embedLen(): number

equals

  • equals(p2: Point): boolean

getElement

  • getElement(): G2

marshalBinary

  • marshalBinary(): Buffer

marshalSize

  • marshalSize(): number

mul

neg

null

pair

pick

set

sub

toProto

  • toProto(): Buffer

toString

  • toString(): string

unmarshalBinary

  • unmarshalBinary(bytes: Buffer): void

Generated using TypeDoc