pgp.Format

Note:

The content in this help topic pertains to SuiteScript 2.1.

Enum Description

Holds the values for literal data packet type. For more information, see Literal Data Packet.

Module

N/pgp Module

Sibling Module Members

N/pgp Module Members

Since

2022.2

Values

Value

UTF8

BINARY

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/pgp Module Script Samples.

            // Add additional code 
...

const msgData = pgp.createMessageData({ 
   content: 'hello world',
   format: pgp.Format.UTF8
})

...
// Add addtional code 

          

Related Topics

General Notices