Uses of Class
convex.core.data.ABlob
Packages that use ABlob
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.
CVM type system implementation.
Core CVM implementation
Etch database for convergent immutable storage
Convex utility classes and miscellaneous functionality
-
Uses of ABlob in convex.core
Methods in convex.core that return types with arguments of type ABlobModifier and TypeMethodDescriptionState.getSchedule()
Gets the current schedule data structure for this state -
Uses of ABlob in convex.core.crypto
Methods in convex.core.crypto that return ABlobModifier and TypeMethodDescriptionprotected abstract ABlob
ASignature.getSignatureBlob()
Gets a Blob containing the raw bytes of this digital signatureMethods in convex.core.crypto with parameters of type ABlobModifier and TypeMethodDescriptionabstract boolean
ASignature.verify(ABlob message, AccountKey publicKey)
Checks if the signature is valid for a given message hashboolean
Ed25519Signature.verify(ABlob message, AccountKey publicKey)
-
Uses of ABlob in convex.core.data
Classes in convex.core.data with type parameters of type ABlobModifier and TypeClassDescriptionclass
Abstract base class for a sorted radix-tree map of Blobs to values.class
BlobMap node implementation supporting: An optional prefix string An optional entry with this prefix Up to 16 child entries at the next level of depthSubclasses of ABlob in convex.core.dataModifier and TypeClassDescriptionclass
Abstract base class for binary data stored in Java arrays.class
Immutable class representing an Ed25519 Public Key for an Accountclass
Immutable class representing an Address, generally used to uniquely identify an Account.class
class
Base class for Blobs which represent an integral numeric valueclass
General purpose immutable wrapper for byte array data.class
Implementation of a large Blob data structure consisting of 2 or more chunks.class
Class used to represent an immutable 32-byte Hash value.class
Wrapper for an 8-byte long blob We use this for efficient management of indexes using longs in BlobMaps.Fields in convex.core.data with type parameters of type ABlobMethods in convex.core.data with type parameters of type ABlobModifier and TypeMethodDescriptionBlobMap.create(K k, V v)
BlobMaps.create(K k, V v)
static <T extends ABlob>
TBlobs.createRandom(long length)
static <T extends ABlob>
TBlobs.createRandom(Random r, long length)
BlobMaps.empty()
Returns the empty BlobMap.BlobMap.read(ByteBuffer bb)
static <T extends ABlob>
TBlobs.readFromBlob(Blob source)
Methods in convex.core.data that return ABlobModifier and TypeMethodDescriptionabstract ABlob
Append an additional data object to this, creating a new data object.ACell.cachedEncoding()
Gets the cached blob representing this Cell's Encoding in binary format, if it exists.static ABlob
Creates a blob from a hex stringstatic ABlob
Blobs.read(ByteBuffer bb)
Reads a Blob from a ByteBuffer.ABlob.slice(long start)
Gets a slice of this blob, as a new blob, starting from the given offset and extending to the end of the blob.abstract ABlob
ABlob.slice(long start, long length)
Gets a contiguous slice of this blob, as a new Blob.abstract ABlob
ALongBlob.slice(long start, long length)
BlobTree.slice(long start, long length)
LongBlob.slice(long start, long length)
abstract ABlob
ABlob.toCanonical()
Blob.toCanonical()
static ABlob
Blobs.toCanonical(ABlob a)
Converts any blob to a the correct canonical Blob formatBlobTree.toCanonical()
Methods in convex.core.data with parameters of type ABlobModifier and TypeMethodDescriptionabstract ABlob
Append an additional data object to this, creating a new data object.long
AArrayBlob.commonHexPrefixLength(ABlob b)
abstract long
ABlob.commonHexPrefixLength(ABlob b)
Computes the length of the longest common hex prefix between two blobslong
ALongBlob.commonHexPrefixLength(ABlob b)
long
BlobTree.commonHexPrefixLength(ABlob b)
long
LongBlob.commonHexPrefixLength(ABlob b)
int
int
Compares this blob to another blob, in lexographic order sorting by first bytes.static AccountKey
Creates an AccountKey from a blob.static Address
Creates an Address from a blob.static BlobTree
Create a BlobTree from an arbitrary Blob.abstract boolean
Determines if this Blob is equal to another Blob.boolean
boolean
abstract boolean
boolean
boolean
boolean
boolean
boolean
boolean
AArrayBlob.equalsBytes(ABlob k)
abstract boolean
ABlob.equalsBytes(ABlob b)
Tests if this Blob has exactly the same bytes as another Blobboolean
ALongBlob.equalsBytes(ABlob b)
boolean
BlobTree.equalsBytes(ABlob b)
abstract V
Gets the map entry for a given blobboolean
boolean
boolean
AArrayBlob.hexMatches(ABlob key, int start, int end)
Tests if a specific range of hex digits are exactly equal.long
AArrayBlob.hexMatchLength(ABlob b, long start, long length)
abstract long
ABlob.hexMatchLength(ABlob b, long start, long length)
Returns the number of matching hex digits in the given hex range of another blob.long
ALongBlob.hexMatchLength(ABlob b, long start, long length)
long
BlobTree.hexMatchLength(ABlob b, long start, long length)
long
LongBlob.hexMatchLength(ABlob b, long start, long length)
boolean
AArrayBlob.rangeMatches(ABlob b, int start, int end)
Tests if a specific range of bytes are exactly equal.static ABlob
Blobs.toCanonical(ABlob a)
Converts any blob to a the correct canonical Blob formatstatic int
Format.writeHexDigits(byte[] bs, int pos, ABlob src, long start, long length)
Writes hex digits from digit position start, total length. -
Uses of ABlob in convex.core.data.type
Methods in convex.core.data.type that return ABlob -
Uses of ABlob in convex.core.lang
Fields in convex.core.lang with type parameters of type ABlobMethods in convex.core.lang that return ABlob -
Uses of ABlob in convex.core.store
Methods in convex.core.store with parameters of type ABlob -
Uses of ABlob in convex.core.util
Methods in convex.core.util with parameters of type ABlobModifier and TypeMethodDescriptionstatic int
Utils.extractDigit(ABlob data, int hexDigit)
Gets a hex digit as an integer 0-15 value from a Data object