Emojicode Documentation 1.0 beta 2
ads via Carbon Lightning-Fast SERP Data 0.7s average response. Get real-time search resultsβ€”faster than ever. Powered by SerpApi. ads via Carbon

Class πŸ“‡

Binary data.

Initializers

πŸ†•

☣️  πŸ†•  memory 🧠  count πŸ”’ 

Creates a πŸ“‡ instance by copying the memory from the provided memory.

Methods

πŸ§ β—οΈ

❗️ 🧠 ➑️ 🧠

Returns the 🧠 storing the value of this πŸ“‡. No copy is performed.

Hint

Only read from the 🧠. When writing to the 🧠 returned by this method, the behavior is undefined.

πŸ™Œ

 πŸ™Œ  b πŸ“‡ ➑️ πŸ‘Œ

Returns πŸ‘ if πŸ‘‡ is equal to b.

πŸ“β“

❓ πŸ“ ➑️ πŸ”’

Returns the number of bytes represented by this instance.

πŸ½β—οΈ

❗️ 🐽  index πŸ”’ ➑️ πŸ’§

Returns the value of the byte at index. index must be greater than 0 and less than πŸ“β“ or the program will panic.

πŸ”‘β—οΈ

❗️ πŸ”‘ ➑️ πŸ¬πŸ”‘

If this object represents the bytes of a UTF-8 encoded text this method returns a string representing that text. No value is returned if this object does not represent a valid UTF-8 sequence.

πŸ”ͺ❗️

❗️ πŸ”ͺ  from πŸ”’  length πŸ”’ ➑️ πŸ“‡

Returns a copy of the data within the given range. This method employs various techniques to make this as efficient as possible.

πŸ”β—οΈ

❗️ πŸ”  search πŸ“‡  offset πŸ”’ ➑️ πŸ¬πŸ”’

Finds the first occurrences of search in the bytes represented by this instance. Search is done from left to right. No value is returned if search cannot be found. 0 is returned if search is empty.

βž•

 βž•  b πŸ“‡ ➑️ πŸ“‡

Creates a new data object by with the bytes of this instance and b concatenated.

πŸ‘β—οΈ

❗️ 🍑 ➑️ πŸŒ³πŸšπŸ’§πŸ†

Returns an iterator to iterate over the bytes of this data object.