|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Provides methods to write basic building blocks to an incremental hash. More...
Public Member Functions | |
| SHA1HashWriter () | |
| Initializes a new instance. | |
| void | WriteUInt16 (ushort s) |
| void | WriteUInt32 (uint u) |
| void | WriteInt64 (long l) |
| void | WriteFloat (float f) |
| void | WriteDouble (double d) |
| void | WriteByte (byte b) |
| void | WriteBytes (byte[] data) |
| void | WriteUtf8 (string str) |
| byte[] | Finalize () |
| Finalizes the SHA1. | |
| void | Dispose () |
| Disposes of the instance. | |
Public Attributes | |
| readonly IncrementalHash | hash = IncrementalHash.CreateHash(HashAlgorithmName.SHA1) |
Provides methods to write basic building blocks to an incremental hash.
The Framework version of this code writes to a temporary heap array.
Definition at line 15 of file SHA1HashWriter.cs.
| IKVM.Runtime.StubGen.SHA1HashWriter.SHA1HashWriter | ( | ) |
| void IKVM.Runtime.StubGen.SHA1HashWriter.Dispose | ( | ) |
Disposes of the instance.
Definition at line 149 of file SHA1HashWriter.cs.
| byte[] IKVM.Runtime.StubGen.SHA1HashWriter.Finalize | ( | ) |
Finalizes the SHA1.
Definition at line 141 of file SHA1HashWriter.cs.
| void IKVM.Runtime.StubGen.SHA1HashWriter.WriteByte | ( | byte | b | ) |
Definition at line 77 of file SHA1HashWriter.cs.
| void IKVM.Runtime.StubGen.SHA1HashWriter.WriteBytes | ( | byte[] | data | ) |
Definition at line 89 of file SHA1HashWriter.cs.
| void IKVM.Runtime.StubGen.SHA1HashWriter.WriteDouble | ( | double | d | ) |
Definition at line 72 of file SHA1HashWriter.cs.
| void IKVM.Runtime.StubGen.SHA1HashWriter.WriteFloat | ( | float | f | ) |
Definition at line 67 of file SHA1HashWriter.cs.
| void IKVM.Runtime.StubGen.SHA1HashWriter.WriteInt64 | ( | long | l | ) |
Definition at line 55 of file SHA1HashWriter.cs.
| void IKVM.Runtime.StubGen.SHA1HashWriter.WriteUInt16 | ( | ushort | s | ) |
Definition at line 31 of file SHA1HashWriter.cs.
| void IKVM.Runtime.StubGen.SHA1HashWriter.WriteUInt32 | ( | uint | u | ) |
Definition at line 43 of file SHA1HashWriter.cs.
| void IKVM.Runtime.StubGen.SHA1HashWriter.WriteUtf8 | ( | string | str | ) |
Definition at line 94 of file SHA1HashWriter.cs.
| readonly IncrementalHash IKVM.Runtime.StubGen.SHA1HashWriter.hash = IncrementalHash.CreateHash(HashAlgorithmName.SHA1) |
Definition at line 18 of file SHA1HashWriter.cs.