llvm/llvm/lib/Support/BinaryStreamWriter.cpp

//===- BinaryStreamWriter.cpp - Writes objects to a BinaryStream ----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/Support/BinaryStreamWriter.h"

#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/BinaryStreamRef.h"
#include "llvm/Support/LEB128.h"

usingnamespacellvm;

BinaryStreamWriter::BinaryStreamWriter(WritableBinaryStreamRef Ref)
    :{}

BinaryStreamWriter::BinaryStreamWriter(WritableBinaryStream &Stream)
    :{}

BinaryStreamWriter::BinaryStreamWriter(MutableArrayRef<uint8_t> Data,
                                       llvm::endianness Endian)
    :{}

Error BinaryStreamWriter::writeBytes(ArrayRef<uint8_t> Buffer) {}

Error BinaryStreamWriter::writeULEB128(uint64_t Value) {}

Error BinaryStreamWriter::writeSLEB128(int64_t Value) {}

Error BinaryStreamWriter::writeCString(StringRef Str) {}

Error BinaryStreamWriter::writeFixedString(StringRef Str) {}

Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref) {}

Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref, uint64_t Length) {}

std::pair<BinaryStreamWriter, BinaryStreamWriter>
BinaryStreamWriter::split(uint64_t Off) const {}

Error BinaryStreamWriter::padToAlignment(uint32_t Align) {}