> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Module note

Module: `noir_aztec::messages::logs::note`

## Functions

- [encode_private_note_message](/aztec-nr-api/v6.0.0/noir_aztec/messages/logs/note/fn.encode_private_note_message.md): Creates the plaintext for a private note message (i.e. one of type [`PRIVATE_NOTE_MSG_TYPE_ID`](/aztec-nr-api/v6.0.0/noir_aztec/messages/msg_type/global.PRIVATE_NOTE_MSG_TYPE_ID.md)).
- [encode_private_note_message_with_msg_type_id](/aztec-nr-api/v6.0.0/noir_aztec/messages/logs/note/fn.encode_private_note_message_with_msg_type_id.md): Creates the plaintext for a private note message with the given `msg_type_id`.

## Globals

- [MAX_NOTE_PACKED_LEN](/aztec-nr-api/v6.0.0/noir_aztec/messages/logs/note/global.MAX_NOTE_PACKED_LEN.md): The maximum length of the packed representation of a note's contents. This is limited by private log size, encryption overhead and extra fields in the message (e.g. message type id, storage slot, randomness, etc.).
