You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
593 B
14 lines
593 B
10 years ago
|
# > `bitcore.encoding`
|
||
|
|
||
|
## Description
|
||
10 years ago
|
|
||
10 years ago
|
The `bitcore.Encoding` namespace contains utilities for encoding information in common formats in the bitcoin ecosystem.
|
||
10 years ago
|
|
||
10 years ago
|
## Base58 & Base58Check
|
||
10 years ago
|
|
||
10 years ago
|
Two classes are provided: `Base58` and `Base58Check`. The first one merely encodes/decodes a set of bytes in base58 format. The second one will also take the double `sha256` hash of the information and append the last 4 bytes of the hash as a checksum when encoding, and check this checksum when decoding.
|
||
10 years ago
|
|
||
|
## BufferReader & BufferWriter
|
||
|
|
||
|
These classes are used internally to write information in buffers.
|