Deluge Firmware
1.3.0
Build date: 2026.08.29
Toggle main menu visibility
Loading...
Searching...
No Matches
string.h
1
#pragma once
2
#include <cstdint>
3
#include <expected>
4
#include <string>
5
#include <system_error>
6
7
namespace
deluge {
8
std::expected<char*, std::errc> to_chars(
char
* first,
char
* last,
float
value,
int
precision);
9
}
// namespace deluge
10
11
namespace
deluge::string {
12
14
std::string fromInt(int32_t number,
size_t
min_num_digits = 1);
15
std::string fromFloat(
float
number, int32_t precision);
16
std::string fromSlot(int32_t slot, int32_t sub_slot,
size_t
min_num_digits = 1);
17
std::string fromNoteCode(int32_t noteCode,
size_t
* getLengthWithoutDot =
nullptr
,
bool
appendOctaveNo =
true
);
18
19
bool
caselessEquals(std::string_view a, std::string_view b);
20
21
}
// namespace deluge::string