Package ghidra.app.util.bin.format.golang.structmapping

# Interface FieldReadFunction<T>

Type Parameters:
  `T` - type of structure mapped class that contains this field

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FieldReadFunction<T>
Functional interface to read a structure field's value.

See Also:
  - `get(FieldContext)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `get(FieldContext<T> context)`
  Deserializes and returns a field's value.

- ## Method Details

  - ### get

    Object get(FieldContext<T> context) throws IOException
    Deserializes and returns a field's value.
    Parameters:
      `context` - context for this field
    Returns:
      value of the field
    Throws:
      `IOException` - if error reading