# README
NZip
NZip provides functions for transforming efficiently underline base go types (e.g int, uint, time.Time, ...etc) into byte slices.
# Functions
DecodeFloat32 will decode provided uint64 value which should be in standard IEEE 754 binary representation, where it bit has been reversed, where having it's exponent appears first.
DecodeFloat64 will decode provided uint64 value which should be in standard IEEE 754 binary representation, where it bit has been reversed, where having it's exponent appears first.
DecodeInt16FromBytes attempts to decode provided byte slice into a int16 ensuring that it has minimum length of 2.
DecodeInt32FromBytes attempts to decode provided byte slice into a int32 ensuring that it has minimum length of 4.
DecodeInt64FromBytes attempts to decode provided byte slice into a int64 ensuring that it has minimum length of 8.
DecodeUInt16 returns the decoded uint16 of provided byte slice which must be of length 2.
DecodeUint16FromBytes attempts to decode provided byte slice into a uint16 ensuring that it has minimum length of 2.
DecodeUint32FromBytes attempts to decode provided byte slice into a uint32 ensuring that it has minimum length of 4.
DecodeUint64FromBytes attempts to decode provided byte slice into a uint64 ensuring that it has minimum length of 8.
DecodeVarInt32 encodes uint32 into a byte slice using EncodeVarInt64 after turing uint32 into uin64.
DecodeVarInt64 reads a varint-encoded integer from the slice.
EncodeFloat64 will encode provided float value into the standard IEEE 754 binary representation and has it's bit reversed, having the exponent appearing first.
EncodeFloat64 will encode provided float value into the standard IEEE 754 binary representation and has it's bit reversed, having the exponent appearing first.
EncodeInt32ToBytes encodes provided uint32 into provided byte ensuring byte slice has minimum of length 4.
EncodeInt64ToBytes encodes provided uint64 into provided byte ensuring byte slice has minimum of length 8.
EncodeUInt16 returns the encoded byte slice of a uint16 value.
EncodeUint16ToBytes encodes provided uint16 into provided byte ensuring byte slice has minimum of length 2.
EncodeUint32ToBytes encodes provided uint32 into provided byte ensuring byte slice has minimum of length 4.
EncodeUint64ToBytes encodes provided uint64 into provided byte ensuring byte slice has minimum of length 8.
EncodeVarInt32 encodes uint32 into a byte slice using EncodeVarInt64 after turing uint32 into uin64.
EncodeVarInt64 returns the varint encoding of x.
No description provided by the author
No description provided by the author
No description provided by the author
UnzipBool unzips giving byte slice value into a boolean.
UnzipFloat32 converts a byte slice into an float32.
UnzipFloat64 converts a byte slice into an float64.
UnzipInt converts a byte slice into an int.
UnzipInt16 converts a byte slice into an uint64.
UnzipInt converts a byte slice into an int32.
UnzipInt converts a byte slice into an int64.
No description provided by the author
UnzipTime converts byte slice into a time.Time object using time.RFC3339 as format.
UnzipTimeWithFormat converts byte slice into a time.Time object using provided format string.
UnzipUint converts a byte slice into an int.
UnzipUint16 converts a byte slice into an uint64.
UnzipInt converts a byte slice into an uint32.
UnzipUint64 converts a byte slice into an uint64.
ZipBool zips giving boolean into giving byte slice, returning appended byte slice.
ZipFloat32 converts a float64 into a byte slice.
ZipFloat64 converts a float64 into a byte slice.
ZipInt converts provided value in the range of {int, uint} types in all supported arch of 8,16,32,64 into a byte slice.
No description provided by the author
ZipTime converts giving time.Time object into a string using time.RFC3339 format.
ZipTimeWithFormat converts giving time.Time object into a string using a giving format.