mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-17 09:28:35 +00:00
style: clang-format the entire project
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <bit>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
#include "Buffer.h"
|
||||
#include <bit>
|
||||
|
||||
class IntBuffer;
|
||||
class FloatBuffer;
|
||||
|
||||
@@ -11,7 +11,7 @@ private:
|
||||
InputStream* stream;
|
||||
|
||||
public:
|
||||
GZIPInputStream(InputStream* out) : stream(out) {};
|
||||
GZIPInputStream(InputStream* out) : stream(out){};
|
||||
virtual int read() { return stream->read(); };
|
||||
virtual int read(std::vector<uint8_t>& b) { return stream->read(b); };
|
||||
virtual int read(std::vector<uint8_t>& b, unsigned int offset,
|
||||
|
||||
@@ -9,7 +9,7 @@ private:
|
||||
OutputStream* stream;
|
||||
|
||||
public:
|
||||
GZIPOutputStream(OutputStream* out) : stream(out) {};
|
||||
GZIPOutputStream(OutputStream* out) : stream(out){};
|
||||
virtual void write(unsigned int b) { stream->write(b); };
|
||||
virtual void write(const std::vector<uint8_t>& b) { stream->write(b); };
|
||||
virtual void write(const std::vector<uint8_t>& b, unsigned int offset,
|
||||
|
||||
Reference in New Issue
Block a user