POMO_Reader::setEndian() WordPress Method

The POMO_Reader::setEndian() method is used to set the endianness of a POMO file.

POMO_Reader::setEndian( string $endian ) #

Sets the endianness of the file.


Parameters

$endian

(string)(Required)Set the endianness of the file. Accepts 'big', or 'little'.


Top ↑

Source

File: wp-includes/pomo/streams.php

		public function setEndian( $endian ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
			$this->endian = $endian;
		}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.