Uses of Class
convex.core.data.Blob
Packages that use Blob
Package
Description
Fundamental Convex classes used for the decentralised network
Crypto algorithms used within Convex, particularly for digital signatures and
cryptographic hashes
Data structures and algorithms, including a complete set of classes
required to implement immutable, decentralised data objects.
Implementation of CVM Primitive Data types
Core CVM implementation
Internal CVM language implementation classes
CVM Operations, effectively the "machine code" of the CVM
Etch database for convergent immutable storage
Convex network transaction types.
-
Uses of Blob in convex.core
Methods in convex.core with parameters of type BlobModifier and TypeMethodDescriptionstatic Belief
static Block
Read a Block from a Blob encodingstatic BlockResult
Decodes a BlockResult from a Blobstatic Order
Decode an Order from a Blob encodingstatic Receipt
static Result
Reads a Result from a Blob encoding.static State
Reads a State from an encoding. -
Uses of Blob in convex.core.crypto
Methods in convex.core.crypto that return BlobModifier and TypeMethodDescriptionstatic Blob
Derives an Ed25519 private key from a BIP32 master keyprotected static Blob
AKeyPair.extractSeed
(PrivateKey priv) Gets the seed from a JCA Private Key.Ed25519Signature.getChunk
(long i) static Blob
Gets the the master key for a given seed according to SLIP10abstract Blob
AKeyPair.getSeed()
Gets the Ed25519 seed for this key pairstatic Blob
Gets a BIP39 seed given a mnemonic and passphrasestatic Blob
Gets a BIP39 seed given a mnemonic and passphrasestatic Blob
BIP39.seedToEd25519Seed
(Blob seed) Converts a BIP39 seed to an Ed25519 seed.Methods in convex.core.crypto with parameters of type BlobModifier and TypeMethodDescriptionstatic AKeyPair
Create a key pair with the given seed.abstract AKeyPair
Create a key pair with the given seedstatic Blob
Derives an Ed25519 private key from a BIP32 master keystatic AKeyPair
SLIP10.deriveKeyPair
(Blob seed, int... ixs) static AKeyPair
static Blob
Gets the the master key for a given seed according to SLIP10static PrivateKey
AKeyPair.privateKeyFromBlob
(Blob encodedKey) static ASignature
static Blob
BIP39.seedToEd25519Seed
(Blob seed) Converts a BIP39 seed to an Ed25519 seed.static AKeyPair
BIP39.seedToKeyPair
(Blob seed) -
Uses of Blob in convex.core.crypto.bc
Methods in convex.core.crypto.bc that return BlobMethods in convex.core.crypto.bc with parameters of type Blob -
Uses of Blob in convex.core.data
Fields in convex.core.data declared as BlobModifier and TypeFieldDescriptionstatic final Blob
Blob.EMPTY
static final Blob
Blob.EMPTY_CHUNK
protected Blob
AObject.encoding
We cache the Blob for the binary encoding of this Cellstatic final Blob
Blob.NULL_ENCODING
static final Blob
Blob.ONE
static final Blob
Blob.ZERO
Methods in convex.core.data that return BlobModifier and TypeMethodDescriptionACell.cachedEncoding()
Gets the cached blob representing this Cell's Encoding in binary format, if it exists.static Blob
Blob.create
(byte[] data) Creates a new data object using a copy of the specified byte array.static Blob
Blob.create
(byte[] data, int offset, int length) Creates a new Blob using a copy of the specified byte rangeprotected final Blob
ACell.createEncoding()
Creates the encoding for this cell.protected abstract Blob
AObject.createEncoding()
Creates a Blob object representing this object.protected Blob
Ref.createEncoding()
static Blob
Blob.createRandom
(Random random, long length) Creates a Blob of random bytes of the given lengthfinal Blob
ABlob.empty()
static Blob
Blobs.empty()
static Blob
Format.encodeCells
(List<ACell> cells) Encodes a flat list of cells in order specified in multi-cell formatstatic Blob
Format.encodedBlob
(ACell o) Gets the encoded Blob for an object in canonical message formatstatic Blob
Format.encodeDelta
(List<ACell> cells) Encode a list of cells as a delta message.static Blob
Format.encodeMultiCell
(ACell a, boolean everything) Encode a Cell completely in multi-cell message format.static Blob
Blob.forByte
(byte b) static Blob
Blob.fromByteBuffer
(ByteBuffer bb) Constructs a Blob object from all remaining bytes in a ByteBufferstatic Blob
Constructs a Blob object from a hex stringabstract Blob
ABlob.getChunk
(long i) Gets a chunk of this Blob, as a canonical flat Blob up to the maximum Blob chunk size.AccountKey.getChunk
(long i) ADerivedBlob.getChunk
(long i) final Blob
ALongBlob.getChunk
(long i) Blob.getChunk
(long i) BlobTree.getChunk
(long chunkIndex) Hash.getChunk
(long i) final Blob
ACell.getEncoding()
Gets the canonical encoded byte representation of this cell.AObject.getEncoding()
Gets the encoded byte representation of this value.SignedData.getMessageForRef
(Ref<T> ref) static Blob
Parses String input as a Blob.static Blob
Fast read of a Blob from its encoding inside another Blob object,AArrayBlob.slice
(long start, long end) Address.slice
(long start, long end) Blob.slice
(long start) Blob.slice
(long start, long end) StringShort.toBlob()
protected Blob
AccountKey.toCanonical()
Hash.toCanonical()
AArrayBlob.toFlatBlob()
abstract Blob
ABlob.toFlatBlob()
ABlobLike.toFlatBlob()
Converts the contents of this value to a flat array-backed Blob instance.Address.toFlatBlob()
ADerivedBlob.toFlatBlob()
abstract Blob
ALongBlob.toFlatBlob()
Blob.toFlatBlob()
BlobTree.toFlatBlob()
LongBlob.toFlatBlob()
static Blob
Blob.wrap
(byte[] data) Wraps the specified bytes as a Data object Warning: underlying bytes are used directly.static Blob
Blob.wrap
(byte[] data, int offset, int length) Wraps the specified bytes as a Data object Warning: underlying bytes are used directly.Methods in convex.core.data with parameters of type BlobModifier and TypeMethodDescriptionfinal void
AObject.attachEncoding
(Blob data) Attach the given encoded Blob to this object Warning: Blob must be the correct canonical representation of this Cell, otherwise bad things may happen (incorrect hashcode, etc.)static ACell[]
Format.decodeCells
(Blob data) Decodes an array of Cells packed in a Blob.static void
Format.decodeCells
(HashMap<Hash, ACell> acc, Blob data) Decode encoded non-embedded Cells into an accumulator HashMapstatic <T extends ACell>
TFormat.decodeMultiCell
(Blob data) Reads a cell from a Blob of data, allowing for non-embedded children following the first cellboolean
static AccountStatus
Decode AccountStatus from Blobstatic Address
static Blob
Fast read of a Blob from its encoding inside another Blob object,static <T extends ABlob>
TReads a canonical Blob from a Blob sourcestatic BlobTree
Reads an encoded BlobTree from a Blob.static <T extends ACell>
TDecodes a single Value from a Blob.static <T extends ACell>
TDecodes a single Value from a Blob, starting at a given offset Assumes the presence of a tag.static Keyword
Reads a Keyword from the given BlobReads a List from the specified Blob.Reads a MapLeaf from the provided Blob encoding.Read a Hashmap from a Blob.Reads a ListMap from the provided Blobstatic PeerStatus
Decodes a PeerStatus from a Blob.Reads a MapLeaf from the provided ByteBuffer Assumes the header byte is already read.Reads a SetTree from the provided Blob encodingstatic <T extends ACell>
SignedData<T> Reads a SignedData instance from the given Blob encodingstatic AString
Reads a String from a Blob encoding.static StringShort
Read a StringShort from an encoding.static StringTree
Reads a StringTree from the given Blob encoding.static Symbol
Reads a Symbol from the given Blobstatic Syntax
Decodes a Syntax object from a Blob encodingstatic <T extends ACell>
VectorLeaf<T> Reads aVectorLeaf
from the provided Blob Assumes the header byte and count is already read.Reads a Vector for the specified Blob.static <T extends ACell>
VectorTree<T> Reads a VectorTree from the provided Blob Assumes the header byte and count is already checked.static long
Reads a long value represented by the specified bytes in a Blobstatic AccountKey
Reads a ref from the given Blob position.Reads a Ref or embedded Cell value from a Blob Converts Embedded Cells to Direct Refs automatically.static AString
Format.readUTF8String
(Blob blob, int pos, int len) Reads UTF-8 String data from a Blob.Constructors in convex.core.data with parameters of type Blob -
Uses of Blob in convex.core.data.prim
Methods in convex.core.data.prim that return BlobModifier and TypeMethodDescriptionCVMBool.toBlob()
CVMChar.toUTFBlob()
Gets the Blob representation of this Character in UTF-8Methods in convex.core.data.prim with parameters of type BlobModifier and TypeMethodDescriptionstatic CVMBigInteger
static CVMChar
Reads char data from Blobstatic CVMDouble
static CVMLong
-
Uses of Blob in convex.core.lang
Methods in convex.core.lang with parameters of type Blob -
Uses of Blob in convex.core.lang.impl
Methods in convex.core.lang.impl with parameters of type Blob -
Uses of Blob in convex.core.lang.ops
Methods in convex.core.lang.ops with parameters of type BlobModifier and TypeMethodDescriptionDecodes a Cond op from a Blob encoding.Decodes a Def op from a Blob encodingDecodes a Do op from a Blob encodingRead an Invoke Op from a Blob encodingRead a Let Op from a Blob encodingReads a Lookup op from a Blob encodingRead a Query Op from a Blob encodingReads a Set Op from a Blob encoding -
Uses of Blob in convex.core.store
Methods in convex.core.store with parameters of type Blob -
Uses of Blob in convex.core.transactions
Methods in convex.core.transactions with parameters of type BlobModifier and TypeMethodDescriptionstatic Call
Reads a Call Transaction from a Blob encodingstatic Invoke
Read a Transfer transaction from a Blob encodingstatic Multi
static ATransaction
-
Uses of Blob in convex.dlfs
Methods in convex.dlfs that return BlobModifier and TypeMethodDescriptionstatic Blob
DLFSNode.getMetaData
(AVector<ACell> node) Gets the metadata from a DLFS node