LeviLamina
Loading...
Searching...
No Matches
BinaryHeader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Puv { class Logger; }
11// clang-format on
12
13namespace Bedrock::Resources {
14
16public:
17 // member variables
18 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 BinaryHeader& operator=(BinaryHeader const&);
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCNAPI ~BinaryHeader();
34 // NOLINTEND
35
36public:
37 // static functions
38 // NOLINTBEGIN
39 MCNAPI static bool hasMagicNumber(::gsl::span<uchar const> data);
40
41 MCNAPI static ::Bedrock::Result<::Bedrock::Resources::BinaryHeader, ::Puv::Logger>
42 parse(::std::string_view binaryResource);
43 // NOLINTEND
44
45public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCNAPI void $dtor();
49 // NOLINTEND
50};
51
52} // namespace Bedrock::Resources
Definition BinaryHeader.h:15
static MCAPI ::Bedrock::Result<::Bedrock::Resources::BinaryHeader, ::Puv::Logger > parse(::std::string_view binaryResource)
static MCAPI bool hasMagicNumber(::gsl::span< uchar const > data)
Definition Alias.h:14