mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
15 lines
309 B
C++
15 lines
309 B
C++
#include "fast_float/binary_to_decimal.h"
|
|
|
|
#include <iostream>
|
|
|
|
int main() {
|
|
std::cout << "serialization test" << std::endl;
|
|
char buffer[20];
|
|
for(size_t i = 0; i < 20; i++) {
|
|
buffer[i] = '\0';
|
|
}
|
|
fast_float::serialize(12345,buffer);
|
|
std::cout << buffer << std::endl;
|
|
return EXIT_SUCCESS;
|
|
}
|