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 Blob -
Uses of Blob in convex.core.crypto
Methods in convex.core.crypto that return BlobModifier and TypeMethodDescriptionprotected static BlobAKeyPair.extractSeed(PrivateKey priv) Gets the seed from a JCA Private Key.Ed25519Signature.getChunk(long i) abstract BlobAKeyPair.getSeed()Gets the Ed25519 seed for this key pairMethods in convex.core.crypto with parameters of type BlobModifier and TypeMethodDescriptionstatic AKeyPairCreate a key pair with the given seed.abstract AKeyPairCreate a key pair with the given seedstatic AKeyPairstatic PrivateKeyAKeyPair.privateKeyFromBlob(Blob encodedKey) static ASignature -
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 BlobBlob.EMPTYprotected BlobAObject.encodingWe cache the Blob for the binary encoding of this Cellstatic final BlobBlob.NULL_ENCODINGMethods 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 BlobBlob.create(byte[] data) Creates a new data object using a copy of the specified byte array.static BlobBlob.create(byte[] data, int offset, int length) Creates a new data object using a copy of the specified byte rangeprotected final BlobACell.createEncoding()Creates the encoding for this cell.protected abstract BlobAObject.createEncoding()Creates a Blob object representing this object.protected BlobRef.createEncoding()static BlobBlob.createRandom(Random random, long length) Creates a Blob of random bytes of the given lengthABlob.empty()static BlobBlobs.empty()static BlobFormat.encodedBlob(ACell o) Gets the encoded Blob for an object in canonical message formatstatic BlobFormat.encodeDelta(List<ACell> cells) Encode a list of cells as a delta message.static BlobFormat.encodeMultiCell(ACell a) Encode a Cell completely in multi-cell message format.static BlobBlob.fromByteBuffer(ByteBuffer bb) Constructs a Blob object from all remaining bytes in a ByteBufferstatic BlobConstructs a Blob object from a hex stringabstract BlobABlob.getChunk(long i) Gets a chunk of this Blob, as a canonical Blob up to the maximum chunk size.AccountKey.getChunk(long i) final BlobALongBlob.getChunk(long i) Blob.getChunk(long i) BlobTree.getChunk(long chunkIndex) Hash.getChunk(long i) final BlobACell.getEncoding()Gets the canonical encoded byte representation of this cell.AObject.getEncoding()Gets the encoded byte representation of this cell.static BlobFast read of a Blob from its representation inside another Blob object, Main benefit is to avoid reconstructing via ByteBuffer allocation, enabling retention of source Blob object as encoded data.AArrayBlob.slice(long start, long end) Address.slice(long start, long end) Blob.slice(long start, long end) StringShort.toBlob()AccountKey.toCanonical()Hash.toCanonical()LongBlob.toCanonical()AArrayBlob.toFlatBlob()abstract BlobABlob.toFlatBlob()Converts this object to a flat array-backed Blob instance.Address.toFlatBlob()abstract BlobALongBlob.toFlatBlob()Blob.toFlatBlob()BlobTree.toFlatBlob()LongBlob.toFlatBlob()static BlobBlob.wrap(byte[] data) Wraps the specified bytes as a Data object Warning: underlying bytes are used directly.static BlobBlob.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 voidAObject.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) static <T extends ACell>
TFormat.decodeMultiCell(Blob data) Reads a cell from a Blob of data, allowing for non-embedded children following the first cellbooleanstatic AccountStatusstatic BlobFast read of a Blob from its representation inside another Blob object, Main benefit is to avoid reconstructing via ByteBuffer allocation, enabling retention of source Blob object as encoded data.static <T extends ABlob>
TReads a canonical Blob from a byte sourcestatic BlobTreeReads 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 KeywordReads a List from the specified Blob.Read a Hashmap from a Blob.static PeerStatusstatic <T extends ACell>
SignedData<T>static AStringReads a String from a Blob encoding.static StringShortstatic StringTreestatic Symbolstatic Syntaxstatic <T extends ACell>
VectorLeaf<T>static <T extends ACell>
VectorTree<T>static AccountKeystatic AddressReads 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 AStringFormat.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 TypeMethodDescriptionCVMChar.toUTFBlob()Gets the Blob representation of this Character in UTF-8Methods in convex.core.data.prim with parameters of type BlobModifier and TypeMethodDescriptionstatic CVMBigIntegerstatic CVMCharReads char data from Blobstatic CVMDoublestatic CVMLong -
Uses of Blob in convex.core.lang
Methods in convex.core.lang that return BlobMethods 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 TypeMethodDescription -
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 Blob