Class UnsignedShortFromSignedShort

Object
ConvertTo<UnsignedShortBuffer>
ToUnsignedShort
UnsignedShortFromSignedShort

public final class UnsignedShortFromSignedShort extends ToUnsignedShort
Convert to an unsigned short buffer, given an signed short source buffer.
Author:
Owen Feehan
  • Constructor Details

    • UnsignedShortFromSignedShort

      public UnsignedShortFromSignedShort()
  • Method Details

    • convertValue

      protected short convertValue(short value)
      Description copied from class: ToUnsignedShort
      Converts a value retrieved from the source buffer to the destination form.
      Specified by:
      convertValue in class ToUnsignedShort
      Parameters:
      value - the value retrieved from the source buffer.
      Returns:
      the converted value in the form to match the destination.