Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CodecInterface.php

function CodecInterface::decodeBytes

Returns a UuidInterface derived from a binary string representation

Parameters

string $bytes The binary string representation to convert into a: UuidInterface instance

Return value

UuidInterface An instance of a UUID decoded from a binary string representation

1 method overrides CodecInterface::decodeBytes()
StringCodec::decodeBytes in vendor/ramsey/uuid/src/Codec/StringCodec.php
Returns a UuidInterface derived from a binary string representation

File

vendor/ramsey/uuid/src/Codec/CodecInterface.php, line 70

Class

CodecInterface
A codec encodes and decodes a UUID according to defined rules

Namespace

Ramsey\Uuid\Codec

Code

public function decodeBytes(string $bytes) : UuidInterface;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal