We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
capacity
is_empty
1 parent 902150c commit 7dac91dCopy full SHA for 7dac91d
src/ecdsa/serialized_signature.rs
@@ -84,6 +84,7 @@ impl SerializedSignature {
84
}
85
86
/// Get the capacity of the underlying data buffer.
87
+ #[deprecated = "This always returns 72"]
88
#[inline]
89
pub fn capacity(&self) -> usize { self.data.len() }
90
@@ -106,6 +107,7 @@ impl SerializedSignature {
106
107
pub fn from_signature(sig: &Signature) -> SerializedSignature { sig.serialize_der() }
108
109
/// Check if the space is zero.
110
+ #[deprecated = "This always returns false"]
111
112
pub fn is_empty(&self) -> bool { self.len() == 0 }
113
0 commit comments