[android-components](../../index.md) / [mozilla.components.concept.engine.manifest](../index.md) / [Size](index.md) / [parse](./parse.md)

# parse

`fun parse(raw: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Size`](index.md)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/manifest/Size.kt#L30)

Parse a value from an HTML sizes attribute (512x512, 16x16, etc).
Returns null if the value was invalid.

