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.
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 Blob
AKeyPair.extractSeed
(PrivateKey priv) Gets the seed from a JCA Private Key.Ed25519Signature.getChunk
(long i) abstract Blob
AKeyPair.getSeed()
Gets the Ed25519 seed for this key pairstatic Blob
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 AKeyPair
static PrivateKey
AKeyPair.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 Blob
Blob.EMPTY
protected Blob
AObject.encoding
We cache the Blob for the binary encoding of this Cellstatic final Blob
Blob.NULL_ENCODING
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 data object 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 lengthABlob.empty()
static Blob
Blobs.empty()
static 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) Encode a Cell completely in multi-cell message format.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 Blob up to the maximum chunk size.AccountKey.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 cell.static Blob
Fast 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 Blob
ABlob.toFlatBlob()
Converts this object to a flat array-backed Blob instance.Address.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) static <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 Blob
Fast 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 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 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
static StringTree
Reads a StringTree from the given Blob encoding.static Symbol
static 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
static Address
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 TypeMethodDescriptionCVMChar.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 etch