Home Reference Source
public class | source

Convert

You can directly use an instance of this class. convert

Method Summary

Public Methods
public

bufferToBigIntegerHex(data: *): *

public

toBufferHex(data: *, fixedSizeBuffer: boolean, resultNumBytes: number): *

public

toString(data: *, base: *): *

Public Methods

public bufferToBigIntegerHex(data: *): * source

Params:

NameTypeAttributeDescription
data *

Return:

*

public toBufferHex(data: *, fixedSizeBuffer: boolean, resultNumBytes: number): * source

Params:

NameTypeAttributeDescription
data *
fixedSizeBuffer boolean
  • optional
  • default: true
resultNumBytes number
  • optional
  • default: 32

Return:

*

public toString(data: *, base: *): * source

Params:

NameTypeAttributeDescription
data *
base *

Return:

*