DecodeDouble decodes a double value.
(b []byte)
| 2175 | |
| 2176 | // DecodeDouble decodes a double value. |
| 2177 | func (BinaryEncoding) DecodeDouble(b []byte) float64 { |
| 2178 | return math.Float64frombits(binary.BigEndian.Uint64(b)) |
| 2179 | } |
| 2180 | |
| 2181 | // DecodeString decodes a string value. |
| 2182 | func (d BinaryEncoding) DecodeString(b []byte) (value string) { |