forked from mirrors/gecko-dev
MozReview-Commit-ID: GF0YXDwfA14 --HG-- extra : rebase_source : fdae0046f882d47fb539a7f882364e5c5caafdcd extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
12 lines
403 B
C++
12 lines
403 B
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
using Encoding = mozilla::Encoding;
|
|
private:
|
|
const Encoding* mEncoding;
|
|
inline int32_t read()
|
|
{
|
|
return readable->read();
|
|
}
|
|
public:
|
|
const Encoding* sniff(nsHtml5ByteReadable* bytes);
|