ASP BinaryWrite 메서드


❮ 완전한 응답 객체 참조

BinaryWrite 메서드는 문자 변환 없이 출력에 직접 데이터를 씁니다.

팁: 이 방법은 데이터베이스에서 브라우저로 이미지 데이터(BLOB)를 쓰는 데 사용됩니다.

통사론

response.BinaryWrite data

Parameter Description
data Required. The binary information to be sent

예시

바이트 배열을 생성하는 객체가 있는 경우 BinaryWrite를 사용하여 바이트를 애플리케이션에 보낼 수 있습니다.

<% Set objBinaryGen=Server.CreateObject("MyComponents.BinaryGenerator") pic=objBinaryGen.MakePicture response.BinaryWrite pic %>

❮ 완전한 응답 객체 참조