The constructor of the ByteifySerializationWrongTypeError class.
The message of the error
Optional
nativeType: NativeTypeThe native type of the value that was to be serialized
Optional
endianess: ByteifyEndianessThe byteify endianess that was to be used
Optional
valueToSerialize: number | bigintThe value that was to be serialized
Optional
serializedResult: number[]The serialized value
Optional
givenType: stringThe given type of the value that was to be serialized
Optional
expectedType: stringThe expected type of the value that was to be serialized
The byteify endianess that was to be used
The expected type of the value that was to be serialized
The given type of the value that was to be serialized
The native type of the value that was to be serialized
The serialized value
The value that was to be serialized
Generated using TypeDoc
The ByteifySerializationError that happens because the input is of the wrong type