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
26 virtual ~StringByteInput() /*override*/;
27 // NOLINTEND
28
29public:
30 // destructor thunk
31 // NOLINTBEGIN
32 MCFOLD void $dtor();
33 // NOLINTEND
34
35public:
36 // virtual function thunks
37 // NOLINTBEGIN
38 MCAPI ::Bedrock::Result<void> $readBytesResult(void* data, uint64 bytes);
39
40 MCAPI uint64 $numBytesLeft() const;
41
42
43 // NOLINTEND
44
45public:
46 // vftables
47 // NOLINTBEGIN
48 MCNAPI static void** $vftable();
49 // NOLINTEND
50};
Definition BytesDataInput.h:9
static MCAPI void ** $vftable()