Encapsulation may refer to any of the following:
1. When referring to networking, encapsulation is the process of taking data from one protocol and translating it into another protocol, so the data can continue across a network. For example, a TCP/IP packet contained within an ATM frame is a form of encapsulation.
2. When referring to programming, encapsulation is information in a module or section of code that enables the program or programmer to use code contained within a program.