We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d0511c commit db62000Copy full SHA for db62000
GptPartitionEntry.cpp
@@ -6,8 +6,6 @@ bool GptPartitionEntry::isUsed() {
6
7
std::ostream &operator<<(std::ostream &os, GptPartitionEntry &entry) {
8
os << "Unique partition GUID: " << entry.uniquePartitionGuid << std::endl;
9
- os << "Partition name: " << entry.partitionName << std::endl;
10
-
11
os << "Partition type GUID: " << entry.partitionTypeGuid << std::endl;
12
13
os << "Starting LBA: " << entry.startingLba << std::endl;
GptPartitionEntry.hpp
@@ -14,7 +14,8 @@ class GptPartitionEntry {
14
uint64_t startingLba;
15
uint64_t endingLba;
16
uint64_t attributes;
17
- uint8_t partitionName[72];
+ // Encoded using UTF-16LE
18
+ char16_t partitionName[36];
19
20
bool isUsed();
21
};
0 commit comments