MCPcopy Create free account
hub / github.com/Effect-TS/effect / ipv4ToOctets

Function ipv4ToOctets

packages/effect/src/net/NetAddress.ts:1231–1231  ·  view source on GitHub ↗
(self: Ipv4Address)

Source from the content-addressed store, hash-verified

1229 * @since 4.0.0
1230 */
1231export const ipv4ToOctets = (self: Ipv4Address): Ipv4Octets => wordToOctets(ipv4Value(self))
1232
1233/**
1234 * Returns the eight numeric segments of an IPv6 address in a fresh tuple.

Callers 1

formatIpFunction · 0.85

Calls 2

wordToOctetsFunction · 0.85
ipv4ValueFunction · 0.85

Tested by

no test coverage detected