// Copyright 2017 The PDFium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fxcrt/cfx_bitstream.h" #include <limits> #include "core/fxcrt/check_op.h" #include "core/fxcrt/fx_memory.h" #include "core/fxcrt/fx_system.h" CFX_BitStream::CFX_BitStream(pdfium::span<const uint8_t> pData) : … { … } CFX_BitStream::~CFX_BitStream() = default; void CFX_BitStream::ByteAlign() { … } uint32_t CFX_BitStream::GetBits(uint32_t nBits) { … }