LeviLamina
Loading...
Searching...
No Matches
StringByteInput.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7#include "mc/util/BytesDataInput.h"
8
9class StringByteInput : public ::BytesDataInput {
10public:
11 // member variables
12 // NOLINTBEGIN
13 size_t mIdx;
14 std::string_view mBuffer;
15 // NOLINTEND
16
17 StringByteInput(std::string_view sv, size_t offset = 0) noexcept : mIdx(offset), mBuffer(sv) {}
18
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ::Bedrock::Result<void> readBytesResult(void* data, uint64 bytes) /*override*/;
23
24 virtual uint64 numBytesLeft() const /*override*/;
25 // NOLINTEND
26
27public:
28 // virtual function thunks
29 // NOLINTBEGIN
30 MCAPI ::Bedrock::Result<void> $readBytesResult(void* data, uint64 bytes);
31
32 MCAPI uint64 $numBytesLeft() const;
33
34
35 // NOLINTEND
36
37public:
38 // vftables
39 // NOLINTBEGIN
40 MCNAPI static void** $vftable();
41 // NOLINTEND
42};
Definition BytesDataInput.h:9
static MCAPI void ** $vftable()