Latin1Data.validated constructor

Latin1Data.validated(
  1. String from
)

Creates a Latin1Data value from a String. Validates that the input String is a valid Latin-1 encoding. @param from the String to create the Latin1Data from. @return a DataEncodingValidationResult representing a validation error or the Latin1Data

Implementation

Latin1Data.validated(String from) : value = from.getValidLatinBytes();