Discover Packages
github.com/oleksandrblack/dnsseeder
safecoin
network
package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Dec 18, 2020
License: Apache-2.0, MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
/ Network represents the byte sequences used to identify different Safecoin networks.
Decode parses a valid network identifier from a byte slice. It
returns the identifier on success, zero and an error on failure.
Marshal appends the 4-byte, little endian encoding of a network identifier
to the dst slice and returns the resulting slice. If there is sufficient room
in the dst slice, Marshal does not allocate.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.