Package io.protostuff

Class YamlOutput

All Implemented Interfaces:
Output, StatefulOutput

public final class YamlOutput extends WriteSession implements Output, StatefulOutput
An output used for writing data with yaml format.
  • Field Details

    • LINE_BREAK_LEN

      public static final int LINE_BREAK_LEN
      Returns 2 if line break is using CRLF ("\r\n"), 1 if using LF ("\n")
    • EXTRA_INDENT

      public static final int EXTRA_INDENT
      The extra indention for the yaml output. (Increases readability)
    • COLON_AND_SPACE

      private static final byte[] COLON_AND_SPACE
    • DASH_AND_SPACE

      private static final byte[] DASH_AND_SPACE
    • EMPTY_ARRAY

      private static final byte[] EMPTY_ARRAY
    • TRUE

      private static final byte[] TRUE
    • FALSE

      private static final byte[] FALSE
    • EXCLAMATION

      private static final byte EXCLAMATION
      See Also:
    • indent

      private int indent
    • lastNumber

      private int lastNumber
    • schema

      private Schema<?> schema
  • Constructor Details

  • Method Details